Class: Bayonetta::WMBFile::MeshHeader

Inherits:
LibBin::Structure
  • Object
show all
Defined in:
lib/bayonetta/wmb.rb

Instance Method Summary collapse

Constructor Details

#initializeMeshHeader

Returns a new instance of MeshHeader.



987
988
989
990
991
992
993
994
995
996
997
998
# File 'lib/bayonetta/wmb.rb', line 987

def initialize
  @id = 0
  @num_batch = 0
  @u_a1 = 0
  @u_a2 = 1
  @offset_batch_offsets = 128
  @u_b = 0x80000000
  @u_c = [0]*4
  @name = [0]*32
  @mat = [0.0, 0.98, -0.42, 1.64, 1.10, 2.08,
          0.1, -1.10, -0.12, -0.95, 0.0, 0.0]
end