Calculates the scalar triple product of three vectors.
// Returns 1 (volume of parallelepiped formed by three vectors)const volume = Chalkboard.vect.scalarTriple( Chalkboard.vect.init(1, 0, 0), Chalkboard.vect.init(0, 1, 0), Chalkboard.vect.init(0, 0, 1)); Copy
// Returns 1 (volume of parallelepiped formed by three vectors)const volume = Chalkboard.vect.scalarTriple( Chalkboard.vect.init(1, 0, 0), Chalkboard.vect.init(0, 1, 0), Chalkboard.vect.init(0, 0, 1));
The first vector
The second vector
The third vector
Calculates the scalar triple product of three vectors.
Example