Update models_mesh_picking.c
This commit is contained in:
parent
121c689b78
commit
0565fb9fb6
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ int main(void)
|
||||||
collision.normal.y,
|
collision.normal.y,
|
||||||
collision.normal.z), 10, ypos + 30, 10, BLACK);
|
collision.normal.z), 10, ypos + 30, 10, BLACK);
|
||||||
|
|
||||||
if (triHitInfo.hit && strcmp(hitObjectName, "Triangle") == 0)
|
if (triHitInfo.hit && TextIsEqual(hitObjectName, "Triangle"))
|
||||||
DrawText(TextFormat("Barycenter: %3.2f %3.2f %3.2f", bary.x, bary.y, bary.z), 10, ypos + 45, 10, BLACK);
|
DrawText(TextFormat("Barycenter: %3.2f %3.2f %3.2f", bary.x, bary.y, bary.z), 10, ypos + 45, 10, BLACK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue