more cleanup

This commit is contained in:
Pawel Kolodziejski 2004-02-25 08:45:56 +00:00
parent 45ce2249c6
commit 2600dc2efc
4 changed files with 63 additions and 63 deletions

View File

@ -18,7 +18,7 @@
#include <math.h>
#include "matrix3.h"
void Matrix3::setAsIdentity( void ) {
void Matrix3::setAsIdentity() {
right_.set(1.f, 0.f, 0.f);
up_.set(0.f, 1.f, 0.f);
at_.set(0.f, 0.f, 0.f);
@ -37,7 +37,7 @@ void Matrix3::buildFromPitchYawRoll( float pitch, float yaw, float roll ) {
(*this) *= temp2;
}
#define MYPI 3.141592654
#define MYPI 3.14159265358979323846
#define DEGTORAD(a) (a * MYPI / 180.0)
#define RADTODEG(a) (a * 180.0 / MYPI)

View File

@ -27,7 +27,7 @@ public:
Matrix3 rot_;
Vector3d pos_;
Matrix4( void );
Matrix4();
Matrix4& operator =(const Matrix4& s) {
pos_ = s.pos_;