summaryrefslogtreecommitdiffhomepage
path: root/examples/text
diff options
context:
space:
mode:
authorRay <[email protected]>2022-08-02 18:12:57 +0200
committerRay <[email protected]>2022-08-02 18:12:57 +0200
commit5840cd6e50890fdc8bb964cf4ed86524f1ca1675 (patch)
tree067450e2987cf577d6eba56b49608f6b4e52a2e2 /examples/text
parentdf5514088eaa7e5e7d2d589f4adc278897106ddc (diff)
downloadraylib-5840cd6e50890fdc8bb964cf4ed86524f1ca1675.tar.gz
raylib-5840cd6e50890fdc8bb964cf4ed86524f1ca1675.zip
Remove unneeded comment
Diffstat (limited to 'examples/text')
-rw-r--r--examples/text/text_draw_3d.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/text/text_draw_3d.c b/examples/text/text_draw_3d.c
index 70143dcd..f03ad784 100644
--- a/examples/text/text_draw_3d.c
+++ b/examples/text/text_draw_3d.c
@@ -141,6 +141,8 @@ int main(void)
{
// Update
//----------------------------------------------------------------------------------
+ UpdateCamera(&camera);
+
// Handle font files dropped
if (IsFileDropped())
{
@@ -265,7 +267,6 @@ int main(void)
// Measure 3D text so we can center it
tbox = MeasureTextWave3D(font, text, fontSize, fontSpacing, lineSpacing);
- UpdateCamera(&camera); // Update camera
quads = 0; // Reset quad counter
time += GetFrameTime(); // Update timer needed by `DrawTextWave3D()`
//----------------------------------------------------------------------------------