示例#1
0
			public mopps_block() : base(7)
			{
				HavokShapeObject = new hkShape(this);
				Add(new TI.Pad(2));
				Add(/*list = */ new TI.BlockIndex()); // 1 lists_block
				Add(/*code offset = */ new TI.LongInteger());
			}
示例#2
0
			public phantoms_block() : base(9)
			{
				HavokShapeObject = new hkShape(this);
				Add(new TI.Pad(4 + 4));
				Add(new TI.Skip(4));
				Add(/*size = */ new TI.ShortInteger());
				Add(/*count = */ new TI.ShortInteger());
				Add(new TI.Skip(4));
			}
示例#3
0
			public polyhedra_block() : base(35)
			{
				HavokShapeObject = new hkShape(this);
				Add(/*radius = */ new TI.Real());
				Add(/*aabb half extents = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
				Add(/*aabb center = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
				Add(new TI.Skip(4));
				Add(/*four vectors size = */ new TI.LongInteger());
				Add(/*four vectors capacity = */ new TI.LongInteger());
				Add(/*num vertices = */ new TI.LongInteger());

				Add(/*four vectors x = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
				Add(/*four vectors y = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
				Add(/*four vectors z = */ new TI.RealVector3D());
				Add(new TI.Skip(4));

				Add(/*four vectors x = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
				Add(/*four vectors y = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
				Add(/*four vectors z = */ new TI.RealVector3D());
				Add(new TI.Skip(4));

				Add(/*four vectors x = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
				Add(/*four vectors y = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
				Add(/*four vectors z = */ new TI.RealVector3D());
				Add(new TI.Skip(4));

				Add(new TI.Skip(4));
				Add(/*plane equations size = */ new TI.LongInteger());
				Add(/*plane equations capacity = */ new TI.LongInteger());
				Add(new TI.Skip(4));
			}
示例#4
0
			public lists_block() : base(18)
			{
				HavokShapeObject = new hkShape(this);
				Add(new TI.Skip(4));
				Add(/*child shapes size = */ new TI.LongInteger());
				Add(/*child shapes capacity = */ new TI.LongInteger());

				Add(/*shape type = */ new TI.Enum());
				Add(/*shape = */ new TI.BlockIndex()); // 2
				Add(/*collision filter = */ new TI.LongInteger());

				Add(/*shape type = */ new TI.Enum());
				Add(/*shape = */ new TI.BlockIndex()); // 2
				Add(/*collision filter = */ new TI.LongInteger());

				Add(/*shape type = */ new TI.Enum());
				Add(/*shape = */ new TI.BlockIndex()); // 2
				Add(/*collision filter = */ new TI.LongInteger());

				Add(/*shape type = */ new TI.Enum());
				Add(/*shape = */ new TI.BlockIndex()); // 2
				Add(/*collision filter = */ new TI.LongInteger());
			}
示例#5
0
			public triangles_block() : base(11)
			{
				HavokShapeObject = new hkShape(this);
				Add(/*radius = */ new TI.Real());
				Add(/*point a = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
				Add(/*point b = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
				Add(/*point c = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
			}
示例#6
0
			public boxes_block() : base(20)
			{
				Add(new TI.Skip(4));
				Add(/*size = */ new TI.ShortInteger());
				Add(/*count = */ new TI.ShortInteger());
				Add(new TI.Skip(4));
				Add(/*radius = */ new TI.Real());
				Add(/*half extents = */ new TI.RealVector3D());
				Add(new TI.Skip(4));

				// box object:
				HavokShapeObject = new hkShape(this);
				Add(new TI.Skip(4));
				Add(/*rotation i = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
				Add(/*rotation j = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
				Add(/*rotation k = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
				Add(/*translation = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
			}
示例#7
0
			public pills_block() : base(9)
			{
				HavokShapeObject = new hkShape(this);
				Add(/*radius = */ new TI.Real());
				Add(/*bottom = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
				Add(/*top = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
			}
示例#8
0
			public multi_spheres_block() : base(21)
			{
				HavokShapeObject = new hkShape(this);
				Add(/*num spheres = */ new TI.LongInteger());

				Add(/*sphere = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
				Add(/*sphere = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
				Add(/*sphere = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
				Add(/*sphere = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
				Add(/*sphere = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
				Add(/*sphere = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
				Add(/*sphere = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
				Add(/*sphere = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
			}
示例#9
0
			public spheres_block() : base(18)
			{
				Add(new TI.Skip(4));
				Add(/*size = */ new TI.ShortInteger());
				Add(/*count = */ new TI.ShortInteger());
				Add(new TI.Skip(4));
				Add(/*radius = */ new TI.Real());

				// sphere object:
				HavokShapeObject = new hkShape(this);
				Add(new TI.Skip(4));
				Add(/*rotation i = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
				Add(/*rotation j = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
				Add(/*rotation k = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
				Add(/*translation = */ new TI.RealVector3D());
				Add(new TI.Skip(4));
			}