You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Manoylov Andriy eb8d3c5f80 add ukrainian translation 10 months ago
..
README-ua.md add ukrainian translation 10 months ago
README-vi.md Translate glossary section (partly) and swap all/any page 4 years ago
README.md Remove trailing whitespaces 7 years ago

README.md

Cross

Calculate the cross product of two vectors

Declaration

vec3 cross(vec3 x, vec3 y)

Parameters

x specifies the first of two vectors

y specifies the second of two vectors

Description

cross() returns the cross product of two vectors, x and y. The input parameters can only be 3-component floating vectors. The cross product is equivalent to the product of the length of the vectors times the sinus of the(smaller) angle between x and y.

See Also

dot()