pub fn transform_coords<T>(tf: &Array<T>, d0: f32, d1: f32) -> Array<T> where
T: HasAfEnum + RealFloating,
Transform input coordinates
The transform function uses a perspective transform matrix to transform input coordinates (given as two dimensions) into a coordinates matrix.
The output is a 4x2 matrix, indicating the coordinates of the 4 bidimensional transformed points.
tf
is the transformation matrixd0
is the first input dimensiond1
is the second input dimensionTransformed coordinates
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4