MCPcopy Create free account
hub / github.com/PX4/eigen / direction

Method direction

demos/opengl/camera.cpp:89–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89Vector3f Camera::direction(void) const
90{
91 return - (orientation() * Vector3f::UnitZ());
92}
93Vector3f Camera::up(void) const
94{
95 return orientation() * Vector3f::UnitY();

Callers 4

ParametrizedLineClass · 0.80
ParametrizedLineMethod · 0.80
HyperplaneFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected