Implements the dihedral group D8, which is similar to [group D4]http://mathworld.wolfram.com/DihedralGroupD4.html; D8 is the same but with diagonals, and it is used for texture rotations.
The directions the U- and V- axes after rotation of an angle of a: GD8Constant are the vectors (uX(a), uY(a)) and (vX(a), vY(a)). These aren't necessarily unit vectors.
a: GD8Constant
(uX(a), uY(a))
(vX(a), vY(a))
Origin: This is the small part of gameofbombs.com portal system. It works.
Ivan
PIXI.groupD8
PIXI
Generated using TypeDoc
Implements the dihedral group D8, which is similar to [group D4]http://mathworld.wolfram.com/DihedralGroupD4.html; D8 is the same but with diagonals, and it is used for texture rotations.
The directions the U- and V- axes after rotation of an angle of
a: GD8Constant
are the vectors(uX(a), uY(a))
and(vX(a), vY(a))
. These aren't necessarily unit vectors.Origin: This is the small part of gameofbombs.com portal system. It works.
See
Author
Ivan
Ivanpopelyshev
PIXI.groupD8
Memberof
PIXI