Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

UV Class Reference

Class representing a texture coordinate (u,v) pair. More...

#include <matrix.h>

List of all members.

Public Member Functions

 UV ()
 Default constructor. Initializes the coordinate to (0,0).
 UV (float s)
 Constructor initializing all elements to the given value.
 UV (float _u, float _v)
 Constructor initializing the coordinate to (u,v).
virtual ~UV ()
 Destructor. Does nothing.
UV operator+ (const UV &c) const
 Addition of two uv coordinates.
UV operator * (float s)
 Multiplication of uv coordinate by scalar.

Public Attributes

float u
 First texture coordinate (u).
float v
 Second texture coordinate (v).

Friends

UV operator * (float s, const UV &c)
 Multiplication of scalar by uv coordinate.


Detailed Description

Class representing a texture coordinate (u,v) pair.


The documentation for this class was generated from the following file:
Generated on Tue Mar 14 09:46:38 2006 for ASR by  doxygen 1.4.4