MCPcopy Create free account
hub / github.com/axmolengine/axmol / getRotation3D

Method getRotation3D

core/2d/Node.cpp:352–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350}
351
352Vec3 Node::getRotation3D() const
353{
354 // rotation Z is decomposed in 2 to simulate Skew for Flash animations
355 AXASSERT(_rotationZ_X == _rotationZ_Y, "_rotationZ_X != _rotationZ_Y");
356
357 return Vec3(_rotationX, _rotationY, _rotationZ_X);
358}
359
360void Node::updateRotationQuat()
361{

Callers 6

startWithTargetMethod · 0.80
updateMethod · 0.80
CameraRotationTestMethod · 0.80
rotateCameraCallbackMethod · 0.80
updateCameraMethod · 0.80
rotateCameraCallbackMethod · 0.80

Calls 1

Vec3Function · 0.50

Tested by 5

updateMethod · 0.64
CameraRotationTestMethod · 0.64
rotateCameraCallbackMethod · 0.64
updateCameraMethod · 0.64
rotateCameraCallbackMethod · 0.64