MCPcopy Create free account
hub / github.com/TheRealMJP/BakingLab / SetPosition

Method SetPosition

SampleFramework11/v1.02/Graphics/Camera.cpp:91–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void Camera::SetPosition(const Float3& newPosition)
92{
93 position = newPosition;
94 world.SetTranslation(newPosition);
95
96 WorldMatrixChanged();
97}
98
99void Camera::SetOrientation(const Quaternion& newOrientation)
100{

Callers 3

InitializeMethod · 0.80
UpdateMethod · 0.80

Calls 1

SetTranslationMethod · 0.80

Tested by

no test coverage detected