immutable class TRANSFORM_MATRIX < $IS_EQ, $STR


Flattened version is here

Ancestors
$STR $IS_EQ



Public


Readable Attributes
attr matrix : ARRAY{FLT} ;

Constants
const anti_clockwise : SAME := anti_clockwise.matrix(
const clockwise : SAME := clockwise.matrix(| 0.0, 1.0, -1.0, 0.0, 0.0, 0.0 |) ;
const identity : SAME := identity.matrix(| 1.0, 0.0, 0.0, 1.0, 0.0, 0.0 |) ;
const x_flip : SAME := x_flip.matrix(| -1.0, 0.0, 0.0, 1.0, 0.0, 0.0 |) ;
const y_flip : SAME := y_flip.matrix(| 1.0, 0.0, 0.0, -1.0, 0.0, 0.0 |) ;

Features
create(

Iters


Private

const asize : CARD := 6 ;
attr matrix : ARRAY{FLT} ;

The Sather Home Page