What it does
vec3.cross takes a and b.
Signature
vec3.cross(a, b)Arguments
ab
Example · generated
function update(dt) { vec3.cross(1, 0.4);}vec3.cross is called with values of the shape its signature asks for. The code sits in update(dt), which the engine calls every frame: dt is the time since the last one, in seconds.