00001 // 00002 // File: vuRay.cpp 00003 // Author: Steve Kilthau 00004 // Date: August, 1999 00005 // 00006 // Adapted to vuVolume by Steven Bergner, Oct 2001 00007 // 00008 00009 #include "vuRay.h" 00010 00011 // Default constructor 00012 vuRay::vuRay() 00013 {} 00014 00015 // Copy constructor 00016 vuRay::vuRay(const vuRay &r) 00017 { 00018 operator=(r); 00019 } 00020 00021 // Destructor 00022 vuRay::~vuRay() 00023 {} 00024 00025 // Assignment operator 00026 vuRay& vuRay::operator=(const vuRay &rhs) 00027 { 00028 if (this == &rhs) 00029 return *this; 00030 m_Position = rhs.m_Position; 00031 m_Direction = rhs.m_Direction; 00032 return *this; 00033 }