MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / Normal

Function Normal

Source/MathUtils.cpp:66–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 }
65
66 ofVec2f Normal(ofVec2f v)
67 {
68 return v / sqrtf(v.lengthSquared());
69 }
70
71 float Curve(float t, float curve)
72 {

Callers 2

RenderMethod · 0.85
FindClosestSideMethod · 0.85

Calls 1

lengthSquaredMethod · 0.80

Tested by

no test coverage detected