ICT290 / src / ShaysWorld / PlaneNode.cpp
PlaneNode.cpp
Raw
//  PlaneNode.cpp
//
//  Implementation file for PlaneNode Class
//  Defines all the methods declared, but not defined, in PlaneNode.h
//
//  Shay Leary, April 2005
//--------------------------------------------------------------------------------------

#include "PlaneNode.h"

//----------------------------------------------------------------

void PlaneNode::Clear() {
    m_next = NULL;
}

//----------------------------------------------------------------

void PlaneNode::SetData(const int tempType,
                        const GLdouble tempXs,
                        const GLdouble tempXe,
                        const GLdouble tempYs,
                        const GLdouble tempYe,
                        const GLdouble tempZs,
                        const GLdouble tempZe) {
    m_type = tempType;
    m_xPlaneStart = tempXs;
    m_xPlaneEnd = tempXe;
    m_yPlaneStart = tempYs;
    m_yPlaneEnd = tempYe;
    m_zPlaneStart = tempZs;
    m_zPlaneEnd = tempZe;
}

//----------------------------------------------------------------