Merge pull request #27 from Gawaboumga/master
Merging Gawaboumga pull request (#27), fixes are coming Former-commit-id: 81079fd052538e15b7e919aea106cfb5a88a87a6
This commit is contained in:
@@ -89,7 +89,7 @@ NzString NzHashDigest::ToHex() const
|
||||
return NzString(new NzString::SharedString(1, length, length, hexOutput));
|
||||
}
|
||||
|
||||
nzUInt8 NzHashDigest::operator[](unsigned short pos) const
|
||||
nzUInt8 NzHashDigest::operator[](unsigned int pos) const
|
||||
{
|
||||
#if NAZARA_CORE_SAFE
|
||||
if (pos >= m_digestLength)
|
||||
|
||||
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user