Cube.getVertexSign() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
flat? |
{bool} |
Yes |
{int[+]}
Return an array containing nested arrays with multipliers for direction of offsets used in calculating position of each side of this Cube. The returned array will either contain values for each vertex in a three-dimensional space, or if specified to be flat, values for each vertex in a two-dimensional space for use with a rotation matrix.