CPU Optimization Pass

This commit is contained in:
2013-04-25 16:21:28 -07:00
parent 9ef3f4590f
commit 09d6998d3d
41 changed files with 444 additions and 321 deletions

View File

@@ -34,16 +34,24 @@
#include "KREngine-common.h"
class KRVector3;
class KRVector4 {
public:
float x, y, z, w;
union {
struct {
float x, y, z, w;
};
float c[4];
};
KRVector4();
KRVector4(float X, float Y, float Z, float W);
KRVector4(float v);
KRVector4(float *v);
KRVector4(const KRVector4 &v);
KRVector4(const KRVector3 &v, float W);
~KRVector4();