Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
124
void Camera::SetPos(const vec3& new_val) {
125
old_pos = pos;
126
pos = new_val;
127
}
128
129
void Camera::LookAt(const vec3& new_val) {
130
vec3 vector = normalize(new_val - pos);
Callers
3
Execute
Method · 0.45
DrawCubeMap
Method · 0.45
DrawImGuiCameraPreview
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected