A namespace that provides miscellaneous utility functions for OpenGL.
UtilityGL.h
A namespace that provides miscellaneous utility functions for OpenGL. | |
Adjusts given coordinates from the center of a tile to the specified corner. | |
Adjusts given coordinates from the center of a tile to the midpoint of the specified side. |
|
Adjusts given coordinates from the center of a tile to the specified corner.
| coords | The coordinates to adjust. They should already be set to the center position of the tile. |
| corner | The corner to adjust the coordinates to. Must be between 0 and 5, inclusive. |
|
Adjusts given coordinates from the center of a tile to the midpoint of the specified side.
| coords | The coordinates to adjust. They should already be set to the center position of the tile. |
| side | The side to adjust the coordinates to. Must be between 0 and 5, inclusive. |
|
|