Function citro3d_sys::FVec3_Cross

source ·
pub unsafe extern "C" fn FVec3_Cross(
    lhs: C3D_FVec,
    rhs: C3D_FVec
) -> C3D_FVec
Expand description

Cross product of two FVec3s

Note: This returns a pseudo-vector which is perpendicular to the plane spanned by the two input vectors.

§Arguments

  • lhs (direction in) - Left-side FVec3
  • rhs (direction in) - Right-side FVec3

§Returns

lhs×rhs