MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / SetMesh

Method SetMesh

extensions/olcPGEX_Wireframe.h:223–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221 namespace wire
222 {
223 void Model::SetMesh(const Mesh& mesh)
224 {
225 vLocalPoints = mesh;
226 vWorldPoints.clear();
227 vWorldPoints.resize(vLocalPoints.size());
228 }
229
230 void Model::SetRotation(const float angle)
231 {

Callers

nothing calls this directly

Calls 3

clearMethod · 0.45
resizeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected