Package com.ijurnove.cpu3d
Class UV
java.lang.Object
com.ijurnove.cpu3d.UV
UV coordinates represent a point on a texture. Each coordinate ranges from 0-1: (0,0) would be the top left of a texture, and (1,1) would be the bottom right.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
UV
public UV(double u, double v) Constructs a newUVwith the given values.- Parameters:
u- the U coordinatev- the V coordinate
-
-
Method Details
-
copy
Returns a copy of thisUV.- Returns:
- a copy of this UV
-
u
public double u()Returns the U coordinate.- Returns:
- the U coordinate
-
v
public double v()Returns the V coordinate.- Returns:
- the V coordinate
-