Adds DrawModelPro() and DrawModelWiresPro(), accepting Matrixes as input
This allows us to easily draw the same model with multiple transformations, in particular rotation around multiple axises without having to change the attributes of the model itself (which the Yaw, Pitch, Roll example does). This is particularly useful when loading one model and drawing it multiple times, such as in a game where you fight multiple enemies who all use the same model, but move and behave independently.
This commit is contained in:
parent
bc15c19518
commit
ddcbcbe7a6
1 changed files with 209 additions and 1 deletions
BIN
examples/models/models_transformations.png
Normal file
BIN
examples/models/models_transformations.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
Loading…
Reference in a new issue