Modules | |
| Transforms | |
| Models | |
| Groups | |
| Xml | |
| Printing | |
Functions | |
| void | operations_render (std::vector< float > *operations) |
The elem will be
⟨TRANSFORM⟩ ⟨float⟩ ⟨float⟩ ⟨float⟩ [float] or⟨LOAD_MODEL⟩ ⟨NUMBER_OF_CHARACTERS⟩ ⟨char⟩ ... ⟨char⟩and groups will be
⟨BEGIN_GROUP⟩⟨BEGIN_GROUP⟩⃰ ⟨elem⟩⁺ ⟨END_GROUP⟩⃰ ⟨END_GROUP⟩for example (inside a group),
our operations (world) will be
where position, lookAt, up and ⟨projection⟩ are
we'll use an array of floats, therefore we will need to cast to char when reading the model filename characters and to int when reading the number of characters.
| void operations_render | ( | std::vector< float > * | operations | ) |
References allocModel(), BEGIN_GROUP, END_GROUP, globalCenterX, globalCenterY, globalCenterZ, globalEyeX, globalEyeY, globalEyeZ, globalFar, globalFOV, globalNear, globalUpX, globalUpY, globalUpZ, LOAD_MODEL, renderModel(), ROTATE, SCALE, and TRANSLATE.
Referenced by renderScene(), and xml_load_and_set_env().