#include <MyPolygon.h>
Public Member Functions | |
TexAnchor (double _x=0.0, double _y=0.0) | |
Public Attributes | |
float | x |
float | y |
Values of x and y of a texture anchor are usually between 0 to 1, (0,0) is the lower left corner and (1,1) is the upper right corner. This class is used in various texture related tasks in MyPolygon
TexAnchor::TexAnchor | ( | double | _x = 0.0 , |
|
double | _y = 0.0 | |||
) | [inline] |
float TexAnchor::x |
float TexAnchor::y |