#include <olcPGEX_Wireframe.h>
◆ Model()
olc::wire::Model::Model |
( |
| ) |
|
|
default |
◆ Attach()
void olc::wire::Model::Attach |
( |
Model * | child, |
|
|
const olc::vf2d & | position = { 0.0f, 0.0f }, |
|
|
const float | angle = 0.0f ) |
◆ GetChildren()
const std::vector< Model * > & olc::wire::Model::GetChildren |
( |
| ) |
const |
◆ GetWorldPoints()
const Mesh & olc::wire::Model::GetWorldPoints |
( |
| ) |
const |
◆ LocalToWorld()
◆ SetMesh()
void olc::wire::Model::SetMesh |
( |
const Mesh & | mesh | ) |
|
◆ SetPosition()
void olc::wire::Model::SetPosition |
( |
const olc::vf2d & | position | ) |
|
◆ SetRotation()
void olc::wire::Model::SetRotation |
( |
const float | angle | ) |
|
◆ UpdateInWorld()
void olc::wire::Model::UpdateInWorld |
( |
const Matrix2D & | matParent | ) |
|
◆ DRAW_MEASURES
uint8_t olc::wire::Model::DRAW_MEASURES = 0x04 |
|
staticconstexpr |
◆ DRAW_NODES
uint8_t olc::wire::Model::DRAW_NODES = 0x02 |
|
staticconstexpr |
◆ DRAW_ORIGIN
uint8_t olc::wire::Model::DRAW_ORIGIN = 0x01 |
|
staticconstexpr |
◆ matLocal
◆ matLocalRotation
◆ matLocalTranslation
◆ matWorld
◆ vChildren
std::vector<Model*> olc::wire::Model::vChildren |
|
protected |
◆ vLocalPoints
Mesh olc::wire::Model::vLocalPoints |
|
protected |
◆ vWorldPoints
Mesh olc::wire::Model::vWorldPoints |
|
protected |
The documentation for this class was generated from the following file: