# cRay3d Struct Reference
[Math]

cRay3d represents a 3D vector with an origin. More...

`#include <CVector3d.h>`

List of all members.

## Public Member Functions
| cRay3d ()
| Constructor of cRay3d.
| cRay3d (const cVector3d &a_origin, const cVector3d &a_direction)
| This constructor assumes that a_direction is normalized already.
## Public Attributes
cVector3d | m_origin
| Vector representing ray origin.
cVector3d | m_direction
| Unit vector representing ray direction.

## Detailed Description

cRay3d represents a 3D vector with an origin.

The documentation for this struct was generated from the following file:

- D:/CHAI3D/build-2-0-0/2.0.0/win32/src/math/CVector3d.h

CHAI3D 2.0.0 documentation
Please address any questions to support@chai3d.org
(C) 2003-2009 - CHAI 3D
All Rights Reserved.