Add basic functionality to draw instances

Allows creation of instances of meshes and drawing all of them with
single draw call. Instances can have their own transformation data
(location, rotation and scale).
This commit is contained in:
Piotr Krygier committed 2023-03-31 16:31:47 +02:00
1 parent 6a09350902
commit c4734e99c2
8 files changed
+343 -37

No files matched your search

+2 -1
View File
@@ -13,7 +13,8 @@ class RseGraphics {
RseGraphics(const RseGraphics&) = delete;
/**
* @brief Initialize graphics module, runs main loop and deinits everything, when interrupted
* @brief Initialize graphics module, runs main loop and deinits everything, when interrupted.
* This has to been run AFTER all scene objects have been already created.
*
* @return uint8_t 0 on success.
*/