MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / apply

Method apply

src/Core/Scene/Camera.cpp:10–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8 }
9
10 void Camera::apply() const
11 {
12 m_camera->x = m_position.x;
13 m_camera->y = m_position.y;
14 m_camera->w = m_size.x;
15 m_camera->h = m_size.y;
16 }
17
18 void Camera::setPosition(
19 const Transform::UnitVector& position, const Transform::Referential& ref)

Callers 4

setPositionMethod · 0.95
moveMethod · 0.95
setSizeMethod · 0.95
scaleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected