Esempio n. 1
0
const float Coordinates::WorldFloatToWorldPixel(const float length) {
    Coordinates tmp;
    tmp.SetWorldFloat(Vector2D(length, 0.f));
    return tmp.GetWorldPixel().x;
}
Esempio n. 2
0
// STATIC CONVERSTION FUNCTIONS
const Vector2D Coordinates::WorldFloatToWorldPixel(const Vector2D coords) {
	Coordinates tmp;
	tmp.SetWorldFloat(coords);
	return tmp.GetWorldPixel();
}