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

Method SetPosition

SampleFramework12/v1.00/Graphics/Camera.cpp:89–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

InitializeSceneMethod · 0.80
UpdateMethod · 0.80

Calls 1

SetTranslationMethod · 0.80

Tested by

no test coverage detected