* in this vector.\r
* @param other \r
*/\r
- public void maxLocal(Vector3f other){\r
+ public Vector3f maxLocal(Vector3f other){\r
x = other.x > x ? other.x : x;\r
y = other.y > y ? other.y : y;\r
z = other.z > z ? other.z : z;\r
+ return this;\r
}\r
\r
/**\r
* in this vector.\r
* @param other\r
*/\r
- public void minLocal(Vector3f other){\r
+ public Vector3f minLocal(Vector3f other){\r
x = other.x < x ? other.x : x;\r
y = other.y < y ? other.y : y;\r
z = other.z < z ? other.z : z;\r
+ return this;\r
}\r
\r
/**\r
* in this vector.
* @param other
*/
- public void maxLocal(Vector4f other){
+ public Vector4f maxLocal(Vector4f other){
x = other.x > x ? other.x : x;
y = other.y > y ? other.y : y;
z = other.z > z ? other.z : z;
w = other.w > w ? other.w : w;
+ return this;
}
/**
* in this vector.
* @param other
*/
- public void minLocal(Vector4f other){
+ public Vector4f minLocal(Vector4f other){
x = other.x < x ? other.x : x;
y = other.y < y ? other.y : y;
z = other.z < z ? other.z : z;
w = other.w < w ? other.w : w;
+ return this;
}
/**