Little corrections

HashDigest: Simultaneous use of int and short
EulerAngles: Use of the macro
Geom: cone was missing

Former-commit-id: ecc3a586732a6711b57ce3e79c5450ef7327bb5b
This commit is contained in:
Gawaboumga
2014-06-27 19:11:45 +02:00
parent 48eb59eba8
commit 9f17722afd
4 changed files with 9 additions and 6 deletions

View File

@@ -17,6 +17,9 @@ namespace
case nzPrimitiveType_Box:
return new NzBoxGeom(physWorld, primitive.box.lengths, primitive.matrix);
case nzPrimitiveType_Cone:
return new NzConeGeom(physWorld, primitive.cone.length, primitive.cone.radius, primitive.matrix);
case nzPrimitiveType_Plane:
return new NzBoxGeom(physWorld, NzVector3f(primitive.plane.size.x, 0.01f, primitive.plane.size.y), primitive.matrix);
///TODO: PlaneGeom?