diff options
| author | Ray <[email protected]> | 2021-03-12 18:05:09 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-03-12 18:05:09 +0100 |
| commit | 421c4e4cd85310bef3a8f79f89d23e3a1eac9668 (patch) | |
| tree | a49167a3f2c2ae7558c9a3a94696bc187ffbc824 /examples/web/models/models_mesh_picking.c | |
| parent | cc62fcccc630fdc4badcad8381d5bb43eb71fa1f (diff) | |
| download | raylib.com-421c4e4cd85310bef3a8f79f89d23e3a1eac9668.tar.gz raylib.com-421c4e4cd85310bef3a8f79f89d23e3a1eac9668.zip | |
Renamed FormatText() -> TextFormat()
Diffstat (limited to 'examples/web/models/models_mesh_picking.c')
| -rw-r--r-- | examples/web/models/models_mesh_picking.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/web/models/models_mesh_picking.c b/examples/web/models/models_mesh_picking.c index 7d1c19f..edcbae7 100644 --- a/examples/web/models/models_mesh_picking.c +++ b/examples/web/models/models_mesh_picking.c @@ -210,25 +210,25 @@ void UpdateDrawFrame(void) EndMode3D(); // Draw some debug GUI text - DrawText(FormatText("Hit Object: %s", hitObjectName), 10, 50, 10, BLACK); + DrawText(TextFormat("Hit Object: %s", hitObjectName), 10, 50, 10, BLACK); if (nearestHit.hit) { int ypos = 70; - DrawText(FormatText("Distance: %3.2f", nearestHit.distance), 10, ypos, 10, BLACK); + DrawText(TextFormat("Distance: %3.2f", nearestHit.distance), 10, ypos, 10, BLACK); - DrawText(FormatText("Hit Pos: %3.2f %3.2f %3.2f", + DrawText(TextFormat("Hit Pos: %3.2f %3.2f %3.2f", nearestHit.position.x, nearestHit.position.y, nearestHit.position.z), 10, ypos + 15, 10, BLACK); - DrawText(FormatText("Hit Norm: %3.2f %3.2f %3.2f", + DrawText(TextFormat("Hit Norm: %3.2f %3.2f %3.2f", nearestHit.normal.x, nearestHit.normal.y, nearestHit.normal.z), 10, ypos + 30, 10, BLACK); - if (hitTriangle) DrawText(FormatText("Barycenter: %3.2f %3.2f %3.2f", bary.x, bary.y, bary.z), 10, ypos + 45, 10, BLACK); + if (hitTriangle) DrawText(TextFormat("Barycenter: %3.2f %3.2f %3.2f", bary.x, bary.y, bary.z), 10, ypos + 45, 10, BLACK); } DrawText("Use Mouse to Move Camera", 10, 430, 10, GRAY); |
