parent
c52908c9a9
commit
781673be80
34 changed files with 705 additions and 152 deletions
|
|
@ -692,7 +692,7 @@ public:
|
|||
b3Transform transform = { { 0.0f, 0.01f, 0.0f }, b3Quat_identity };
|
||||
DrawAxes( b3MakeWorldTransform( transform ), 4.0f );
|
||||
|
||||
DrawTextLine( "surface type = %d", m_userMaterialId );
|
||||
DrawTextLine( "surface type = %d", (int)m_userMaterialId );
|
||||
DrawTextLine( "compound capsules/hulls/meshes/sphere = %d / %d / %d / %d", m_compound->capsuleCount,
|
||||
m_compound->hullCount, m_compound->meshCount, m_compound->sphereCount );
|
||||
DrawTextLine( "compound byte count = %d", m_compound->byteCount );
|
||||
|
|
@ -726,7 +726,7 @@ public:
|
|||
DrawLine( p1, p2, MakeColor( b3_colorYellow ) );
|
||||
DrawPoint( p1, 8.0f, MakeColor( b3_colorLightCoral ) );
|
||||
DrawTextLine( "ray hit triangle/child/material = %d / %d / %d", context.triangleIndex, context.childIndex,
|
||||
context.materialId );
|
||||
(int)context.materialId );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -751,7 +751,7 @@ public:
|
|||
b3Sphere sphere = { b3Vec3_zero, 0.25f };
|
||||
DrawSolidSphere( { position, b3Quat_identity }, sphere, MakeColor( b3_colorOrchid ) );
|
||||
DrawTextLine( "shape hit triangle/child/material = %d / %d / %d", context.triangleIndex, context.childIndex,
|
||||
context.materialId );
|
||||
(int)context.materialId );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue