diff options
| author | raysan5 <[email protected]> | 2021-10-13 21:08:58 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2021-10-13 21:08:58 +0200 |
| commit | 51b147cd322c88d2bc4a84e89f826cac9198a45b (patch) | |
| tree | 8ba83c92f600e1b26d7ae885dc9f23f8991c82f2 /examples/models | |
| parent | 4390d3a122ec4ab40e1887e29ddaf59ebad706cc (diff) | |
| download | raylib-51b147cd322c88d2bc4a84e89f826cac9198a45b.tar.gz raylib-51b147cd322c88d2bc4a84e89f826cac9198a45b.zip | |
Update models_loading_vox.c
Diffstat (limited to 'examples/models')
| -rw-r--r-- | examples/models/models_loading_vox.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/examples/models/models_loading_vox.c b/examples/models/models_loading_vox.c index b85c61f3..909ff452 100644 --- a/examples/models/models_loading_vox.c +++ b/examples/models/models_loading_vox.c @@ -22,9 +22,9 @@ #define NUM_VOX_FILES 3 const char* szVoxFiles[] = { - "resources/vox/chr_knight.vox", - "resources/vox/chr_sword.vox", - "resources/vox/monu9.vox" + "resources/models/vox/chr_knight.vox", + "resources/models/vox/chr_sword.vox", + "resources/models/vox/monu9.vox" }; @@ -49,9 +49,9 @@ int main(void) models[i] = LoadModel(szVoxFiles[i]); t1 = GetTime() * 1000.0; - TraceLog(LOG_INFO, TextFormat("Vox <%s> loaded in %f ms", GetFileName(szVoxFiles[i]), t1 - t0)); + //TraceLog(LOG_INFO, TextFormat("Vox <%s> loaded in %f ms", GetFileName(szVoxFiles[i]), t1 - t0)); - //Compute model's center matrix + // Compute model's center matrix BoundingBox bb = GetModelBoundingBox(models[i]); Vector3 center; center.x = bb.min.x + (((bb.max.x - bb.min.x) / 2)); @@ -59,8 +59,6 @@ int main(void) Matrix matP = MatrixTranslate(-center.x, 0, -center.z); models[i].transform = matP; - - } |
