MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / SetPos

Method SetPos

Source/Graphics/camera.cpp:124–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124void Camera::SetPos(const vec3& new_val) {
125 old_pos = pos;
126 pos = new_val;
127}
128
129void Camera::LookAt(const vec3& new_val) {
130 vec3 vector = normalize(new_val - pos);

Callers 3

ExecuteMethod · 0.45
DrawCubeMapMethod · 0.45
DrawImGuiCameraPreviewFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected