Implemented texture scale and offset material parameters
--HG-- extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4024
This commit is contained in:
@@ -118,3 +118,11 @@ KRVector3 KRVector3::cross(const KRVector3 &vec) const
|
||||
z * vec.x - x * vec.z,
|
||||
x * vec.y - y * vec.x);
|
||||
}
|
||||
|
||||
bool operator== (KRVector3 &v1, KRVector3 &v2) {
|
||||
return v1.x == v2.x && v1.y == v2.y && v1.z == v2.z;
|
||||
}
|
||||
|
||||
bool operator!= (KRVector3 &v1, KRVector3 &v2) {
|
||||
return !(v1 == v2);
|
||||
}
|
||||
Reference in New Issue
Block a user