Implemented visualization of octrees for debugging occlusion culling algorithms.
Corrected project settings to allow objpack to compile again. --HG-- extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4087
This commit is contained in:
@@ -149,6 +149,11 @@ void KRMat4::translate(GLfloat x, GLfloat y, GLfloat z) {
|
||||
*this *= newMatrix;
|
||||
}
|
||||
|
||||
void KRMat4::translate(const KRVector3 &v)
|
||||
{
|
||||
translate(v.x, v.y, v.z);
|
||||
}
|
||||
|
||||
/* Rotate a matrix by an angle on a X, Y, or Z axis */
|
||||
void KRMat4::rotate(GLfloat angle, AXIS axis) {
|
||||
const int cos1[3] = { 5, 0, 0 };
|
||||
@@ -177,6 +182,10 @@ void KRMat4::scale(GLfloat x, GLfloat y, GLfloat z) {
|
||||
*this *= newMatrix;
|
||||
}
|
||||
|
||||
void KRMat4::scale(const KRVector3 &v) {
|
||||
scale(v.x, v.y, v.z);
|
||||
}
|
||||
|
||||
/* Scale all dimensions equally */
|
||||
void KRMat4::scale(GLfloat s) {
|
||||
scale(s,s,s);
|
||||
|
||||
Reference in New Issue
Block a user