cross
함수
Computes the cross product of two vec3 values, returning a vec3.
이름마다 붙은 시그니처와 설명은 커밋 26de7be8의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
declare function cross<V extends vec3>(a0: V, a1: V): Vdeclare function cross(a: vec3, b: vec3): vec3매개변수
반환값
Vvec3
설명
Undefined for other vector shapes.
대상별 출력
- WGSL
-
cross(a, b) - GLSL ES 3.00
-
cross(a, b)