MCPcopy Create free account
hub / github.com/defold/defold / UpdateEulerToRotation

Function UpdateEulerToRotation

engine/gameobject/src/gameobject/gameobject.cpp:3418–3422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3416 }
3417
3418 static void UpdateEulerToRotation(HInstance instance)
3419 {
3420 instance->m_PrevEulerRotation = instance->m_EulerRotation;
3421 instance->m_Transform.SetRotation(dmVMath::EulerToQuat(instance->m_EulerRotation));
3422 }
3423
3424 PropertyResult GetProperty(HInstance instance, dmhash_t component_id, dmhash_t property_id, PropertyOptions options, PropertyDesc& out_value)
3425 {

Callers 3

CheckEulerFunction · 0.70
GetPropertyFunction · 0.70
SetPropertyFunction · 0.70

Calls 2

EulerToQuatFunction · 0.50
SetRotationMethod · 0.45

Tested by

no test coverage detected