hgeVector Constructors
To create and initalize a hgeVector object you may use one of these constructors:
hgeVector();
hgeVector(
float x,
float y
);
hgeVector(
const hgeVector &vec
);
Parameters
- x
- The vector's X component.
- y
- The vector's Y component.
Requirements
Header: hgevector.h
|