/// <summary> /// Post multiplies a translation matrix defined by the vector t /// </summary> public void Translate(SLVec3f t) { SLMat4f Tr = new SLMat4f(); Tr.Translation(t); Multiply(Tr); }
/// <summary> /// Post multiplies a translation matrix defined by the vector [tx,ty,tz] /// </summary> public void Translate(float tx, float ty, float tz) { SLMat4f Tr = new SLMat4f(); Tr.Translation(tx, ty, tz); Multiply(Tr); }