|
gucoordinates
|
A gu_percent_coordinate represents the coordinate of a pixel within an image.
More...
#include <percent_coordinate.h>


Public Attributes | |
| percent_d | x |
| The x coordinate of the pixel within the image as a percentage. More... | |
| percent_d | y |
| The y coordinate of the pixel within the image as a percentage. More... | |
A gu_percent_coordinate represents the coordinate of a pixel within an image.
Definition at line 73 of file percent_coordinate.h.
| percent_d gu_percent_coordinate::x |
The x coordinate of the pixel within the image as a percentage.
The x coordinate must be in the range of:
-1.0f <= x <= 1.0f
Definition at line 82 of file percent_coordinate.h.
Referenced by CGTEST::PercentCoordinateCPPTests::cchange(), clamped_rr_coord_to_pct_coord(), gu_percent_coordinate_equals(), pct_coord_to_px_coord(), pct_coord_to_rr_coord(), CGTEST::GUCoordinatesTests< Class >::percent_equal(), CGTEST::GUCoordinatesTests< Class >::percent_near(), GU::PercentCoordinate::set_x(), CGTEST::TEST_F(), and GU::PercentCoordinate::x().
| percent_d gu_percent_coordinate::y |
The y coordinate of the pixel within the image as a percentage.
The y coordinate must be in the range of:
-1.0f <= x <= 1.0f
Definition at line 91 of file percent_coordinate.h.
Referenced by CGTEST::PercentCoordinateCPPTests::cchange(), clamped_rr_coord_to_pct_coord(), gu_camera_pivot_object_on_ground(), gu_percent_coordinate_equals(), pct_coord_to_px_coord(), pct_coord_to_rr_coord(), CGTEST::GUCoordinatesTests< Class >::percent_equal(), CGTEST::GUCoordinatesTests< Class >::percent_near(), GU::PercentCoordinate::set_y(), CGTEST::TEST_F(), and GU::PercentCoordinate::y().