MCPcopy Create free account
hub / github.com/MyGUI/mygui / squaredLength

Function squaredLength

UnitTests/UnitTest_TextureAnimations/WobbleNodeAnimator.cpp:31–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 }
30
31 static float squaredLength(const MyGUI::FloatPoint& _value)
32 {
33 return _value.left * _value.left + _value.top * _value.top;
34 }
35
36 void WobbleNodeAnimator::deserialization(MyGUI::xml::ElementPtr _node, MyGUI::Version _version)
37 {

Callers 1

animateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected