diff options
| author | raysan5 <[email protected]> | 2020-08-16 11:28:15 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2020-08-16 11:28:15 +0200 |
| commit | c32ae480afd196d88acdfdb52d5261a61e0deb08 (patch) | |
| tree | f34f662f64424cbade1678c07934b9c12455d68d /examples/models/models_yaw_pitch_roll.c | |
| parent | 26f6a64a39671487f5d1eeeffe7fce6538669051 (diff) | |
| download | raylib-c32ae480afd196d88acdfdb52d5261a61e0deb08.tar.gz raylib-c32ae480afd196d88acdfdb52d5261a61e0deb08.zip | |
RENAMED: FormatText() -> TextFormat()
This function was renamed for consistency in raylib 3.0, just unified all examples to use TextFormat() instead of FormatText()
Diffstat (limited to 'examples/models/models_yaw_pitch_roll.c')
| -rw-r--r-- | examples/models/models_yaw_pitch_roll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/models/models_yaw_pitch_roll.c b/examples/models/models_yaw_pitch_roll.c index 65273811..77f80063 100644 --- a/examples/models/models_yaw_pitch_roll.c +++ b/examples/models/models_yaw_pitch_roll.c @@ -195,6 +195,6 @@ void DrawAngleGauge(Texture2D angleGauge, int x, int y, float angle, char title[ DrawTexturePro(angleGauge, srcRec, dstRec, origin, angle, color); - DrawText(FormatText("%5.1f", angle), x - MeasureText(FormatText("%5.1f", angle), textSize) / 2, y + 10, textSize, DARKGRAY); + DrawText(TextFormat("%5.1f", angle), x - MeasureText(TextFormat("%5.1f", angle), textSize) / 2, y + 10, textSize, DARKGRAY); DrawText(title, x - MeasureText(title, textSize) / 2, y + 60, textSize, DARKGRAY); } |
