MCPcopy Create free account
hub / github.com/WheretIB/nullc / dot

Function dot

NULLC/translation/std_math_bind.cpp:174–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174float dot(float2 * a, float2 * b, void* unused)
175{
176 return a->x*b->x + a->y*b->y;
177}
178float dot(float3 * a, float3 * b, void* unused)
179{
180 return a->x*b->x + a->y*b->y + a->z*b->z;

Callers 1

reflectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected