MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / Translate

Method Translate

src/luxcore/luxcoreimpl.cpp:317–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315}
316
317void CameraImpl::Translate(const float x, const float y, const float z) const {
318 scene.scene->camera->Translate(Vector(x, y, z));
319 scene.scene->editActions.AddAction(slg::CAMERA_EDIT);
320}
321
322void CameraImpl::TranslateLeft(const float t) const {
323 scene.scene->camera->TranslateLeft(t);

Callers 2

ToolCameraEditKeysMethod · 0.45
Camera_TranslateFunction · 0.45

Calls 2

AddActionMethod · 0.80
VectorClass · 0.50

Tested by

no test coverage detected