MCPcopy Create free account
hub / github.com/RenderKit/embree / move

Method move

tutorials/common/tutorial/camera.h:84–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82 }
83
84 void move (float dx, float dy, float dz)
85 {
86 AffineSpace3fa xfm = camera2world();
87 Vec3fa ds = xfmVector(xfm,Vec3fa(dx,dy,dz));
88 from += ds;
89 to += ds;
90 }
91
92 void rotate (float dtheta, float dphi)
93 {

Callers 2

keyboardFuncMethod · 0.80
displayFuncMethod · 0.80

Calls 2

xfmVectorFunction · 0.50
Vec3faClass · 0.50

Tested by

no test coverage detected