Skip to main content

transform_vector2

Function transform_vector2 

Source
pub fn transform_vector2(
    wow_vec: C2Vector,
    _target: CoordinateSystem,
) -> C2Vector
Expand description

Transform a 2D vector (typically texture coordinates)

Note: In most cases, texture coordinates don’t need coordinate system transformation since they represent UV mapping rather than 3D spatial coordinates.