Function acacia::partition::cubemap::axis_vector_triple
[−]
[src]
pub fn axis_vector_triple<T: BaseFloat>(
axis: Axis,
direction: Direction
) -> [Vector3<T>; 3]
Get the triple of axis vectors
The first vector is the normal vector n, the remaining are tangents t_1 and t_2. They form a basis that is right-handed, i.e. n × t_1 = t_2.