![]() |
VR-Forces 4.7 Class Documentation
|
Notion of an 'CPU' instance An DtInstance_64 has a model id and a transform. More...
Public Member Functions | |
| DtInstance_64 () | |
| CTOR. | |
| DtInstance_64 (int modelId, const Matrix4_64 &xform) | |
| CTOR. | |
Public Attributes | |
| int | myModelId |
| The model id of this instance. | |
| Matrix4_64 | myXForm |
| The transform of this instance. | |
Notion of an 'CPU' instance An DtInstance_64 has a model id and a transform.
The DtInstance_64 has full 64 bit precision xform. Therefore, it cannot be stored directly on the GPU (since GPU can work only with 32 bits) We can use DtInstance_64 to make a DtInstance, though, by expressing its transform in a camera relative way, using 2 floats to represent 64 bits, etc.
| makVrv::DtInstance_64::DtInstance_64 | ( | ) |
CTOR.
| makVrv::DtInstance_64::DtInstance_64 | ( | int | modelId, |
| const Matrix4_64 & | xform | ||
| ) |
CTOR.
| int makVrv::DtInstance_64::myModelId |
The model id of this instance.
| Matrix4_64 makVrv::DtInstance_64::myXForm |
The transform of this instance.