Matrix4d.reflection
- Matrix4d reflection(double a, double b, double c, double d)
struct Matrix4d
ref public return
reflection
- Matrix4d reflection(double nx, double ny, double nz, double px, double py, double pz)
- Matrix4d reflection(Vector3d normal, Vector3d point)
- Matrix4d reflection(Quaterniond orientation, Vector3d point)
doml matrix_4d Matrix4d
constructorsfunctionsstatic variablesvariables
Set this matrix to a mirror/reflection transformation that reflects about the given plane specified via the equation <code>x*a + y*b + z*c + d = 0</code>. <p> The vector <code>(a, b, c)</code> must be a unit vector. <p> Reference: <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/bb281733(v=vs.85).aspx">msdn.microsoft.com</a>
@param a the x factor in the plane equation @param b the y factor in the plane equation @param c the z factor in the plane equation @param d the constant in the plane equation @return this