Skip to main content

transform3

Function transform3 

Source
pub fn transform3(matrix: Matrix4, point: Offset) -> Offset
Expand description

Transforms a point as a 3-vector, with no perspective division.

Flutter counterpart: Matrix4.transform3 applied to Vector3(dx, dy, 0). It takes the transformed x and y and ignores the resulting w.

This is not Matrix4::map_point, which divides by w.