Matrix4d.reflection
- Matrix4d reflection(double a, double b, double c, double d)
- 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)
matrix_4d Matrix4d
constructorsfunctionsstatic variablesvariables
Set this matrix to a mirror/reflection transformation that reflects about a plane specified via the plane orientation and a point on the plane. <p> This method can be used to build a reflection transformation based on the orientation of a mirror object in the scene. It is assumed that the default mirror plane's normal is <code>(0, 0, 1)</code>. So, if the given {@link Quaterniond} is the identity (does not apply any additional rotation), the reflection plane will be <code>z=0</code>, offset by the given <code>point</code>.
@param orientation the plane orientation @param point a point on the plane @return this