|
Vector3 Struct ReferenceList of all members.
Detailed Description
A vector with X, Y, and Z components.
Constructor & Destructor Documentation
|
|
Initializing constructor. |
| Vector3::Vector3 |
( |
const Vector3 & |
v |
) |
[inline] |
|
|
|
Initializing constructor. |
Member Function Documentation
| Vector3 Vector3::cross |
( |
const Vector3 & |
v |
) |
const [inline] |
|
|
|
Calculate a vector cross product. |
| Float Vector3::dot |
( |
const Vector3 & |
v |
) |
const [inline] |
|
|
|
Calculate a vector dot product. |
| Float Vector3::length |
( |
|
) |
const [inline] |
|
|
|
Get the length of the vector. |
| void Vector3::normalize |
( |
|
) |
[inline] |
|
|
|
Set the vector length to one. |
| Vector3 Vector3::operator * |
( |
Float |
s |
) |
const [inline] |
|
| Vector3::operator Float * |
( |
|
) |
[inline] |
|
|
|
Treat the vector as an array of floats. |
| Vector3 Vector3::operator+ |
( |
const Vector3 & |
v |
) |
const [inline] |
|
| Vector3 Vector3::operator- |
( |
|
) |
const [inline] |
|
| Vector3 Vector3::operator- |
( |
const Vector3 & |
v |
) |
const [inline] |
|
| Vector3& Vector3::operator= |
( |
const Vector3 & |
v |
) |
[inline] |
|
|
|
Set all of the vector components at once. |
| void Vector3::zero |
( |
|
) |
[inline] |
|
|
|
Zero out all components of the vector. |
Member Data Documentation
The documentation for this struct was generated from the following file:
Flat Four Engine
Copyright (C) 2001 by 379, Inc.
|
This page generated by Doxygen
|
|