MCPcopy Create free account
hub / github.com/crownengine/crown / length

Function length

src/resource/expression_language.cpp:61–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 }
60
61 inline float length(float a, float b)
62 {
63 return fsqrt((b - a) * (b - a));
64 }
65
66 inline float match(float a, float b)
67 {

Callers 8

matchFunction · 0.70
test_vector2Function · 0.50
test_vector3Function · 0.50
test_vector4Function · 0.50
mergeFunction · 0.50
obb_sphereFunction · 0.50
deadzoneFunction · 0.50
load_apiFunction · 0.50

Calls

no outgoing calls

Tested by 3

test_vector2Function · 0.40
test_vector3Function · 0.40
test_vector4Function · 0.40