|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
The shapes handed to a realization: the deltas, and how to read them. More...
#include <Mesh.hpp>
Public Attributes | |
| ConstSpan< f32 > | deltas |
| targetCount * vertexCount * (hasNormals ? 6 : 3) floats. | |
| u32 | targetCount = 0 |
| bool | hasNormals = false |
The shapes handed to a realization: the deltas, and how to read them.
One record because the three are unreadable apart — the array is flat, and the count and the flag are what say where target i begins.
targetCount * vertexCount * (hasNormals ? 6 : 3) floats.