From ed84303967c797305cc40324d548b081cecae3ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Jonsson?= Date: Sun, 11 Aug 2024 20:06:57 +0200 Subject: [PATCH] Added DrawModelTfm() to raylib.h and CHANGELOG --- CHANGELOG | 2 ++ src/raylib.h | 1 + 2 files changed, 3 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 2141926ce..742dcc055 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -3,6 +3,8 @@ changelog Current Release: raylib 5.0 (18 November 2023) +[models] ADDED: DrawModelTfm() supply Matrix instead of its component. + ------------------------------------------------------------------------- Release: raylib 5.0 - 10th Anniversary Edition (18 November 2023) ------------------------------------------------------------------------- diff --git a/src/raylib.h b/src/raylib.h index ddabe14af..98929c0d0 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1538,6 +1538,7 @@ RLAPI BoundingBox GetModelBoundingBox(Model model); // Model drawing functions RLAPI void DrawModel(Model model, Vector3 position, float scale, Color tint); // Draw a model (with texture if set) RLAPI void DrawModelEx(Model model, Vector3 position, Vector3 rotationAxis, float rotationAngle, Vector3 scale, Color tint); // Draw a model with extended parameters +RLAPI void DrawModelTfm(Model model, Matrix transform, Color tint); // Draw a model with transform RLAPI void DrawModelWires(Model model, Vector3 position, float scale, Color tint); // Draw a model wires (with texture if set) RLAPI void DrawModelWiresEx(Model model, Vector3 position, Vector3 rotationAxis, float rotationAngle, Vector3 scale, Color tint); // Draw a model wires (with texture if set) with extended parameters RLAPI void DrawBoundingBox(BoundingBox box, Color color); // Draw bounding box (wires)