#include <Vec2f.h>
Inheritance diagram for nvmath::Vec2f:
Public Methods | |
NVSG_API | Vec2f (void) |
Default constructor. More... | |
NVSG_API | Vec2f (float x, float y) |
Constructor using two floats. More... | |
NVSG_API | Vec2f (const Vecnf< 2 > &v) |
Copy constructor. More... | |
NVSG_API void | set (float x, float y) |
Set the vector with two float values. More... | |
Related Functions | |
(Note that these are not member functions.) | |
Vec2f | operator * (float f, const Vec2f &v) |
|
Default constructor. For performance reasons no initialization is performed. |
|
Constructor using two floats. A vector with the given values is constructed.
|
|
Copy constructor.
|
|
Set the vector with two float values.
|
|
Multiplication of a scalar with a vector.
|