mirror of
https://github.com/thug1src/thug.git
synced 2025-01-22 05:43:47 +00:00
57 lines
2.3 KiB
C++
57 lines
2.3 KiB
C++
|
/********************************************************************************
|
||
|
* *
|
||
|
* Module: *
|
||
|
* NsFrame *
|
||
|
* Description: *
|
||
|
* Functionality to set up frames and minipulate them. *
|
||
|
* Written by: *
|
||
|
* Paul Robinson *
|
||
|
* Copyright: *
|
||
|
* 2001 Neversoft Entertainment - All rights reserved. *
|
||
|
* *
|
||
|
********************************************************************************/
|
||
|
|
||
|
/********************************************************************************
|
||
|
* Includes. *
|
||
|
********************************************************************************/
|
||
|
#include <math.h>
|
||
|
#include "p_frame.h"
|
||
|
|
||
|
/********************************************************************************
|
||
|
* Defines. *
|
||
|
********************************************************************************/
|
||
|
|
||
|
/********************************************************************************
|
||
|
* Structures. *
|
||
|
********************************************************************************/
|
||
|
|
||
|
/********************************************************************************
|
||
|
* Local variables. *
|
||
|
********************************************************************************/
|
||
|
|
||
|
/********************************************************************************
|
||
|
* Forward references. *
|
||
|
********************************************************************************/
|
||
|
|
||
|
/********************************************************************************
|
||
|
* Externs. *
|
||
|
********************************************************************************/
|
||
|
|
||
|
/********************************************************************************
|
||
|
* *
|
||
|
* Method: *
|
||
|
* NsFrame *
|
||
|
* Inputs: *
|
||
|
* <none> *
|
||
|
* Output: *
|
||
|
* <none> *
|
||
|
* Description: *
|
||
|
* Generates a frame object. *
|
||
|
* *
|
||
|
********************************************************************************/
|
||
|
NsFrame::NsFrame()
|
||
|
{
|
||
|
// Default matrix.
|
||
|
m_model.identity();
|
||
|
}
|