Back to class index
| Plane::TransformSyntaxvoid Plane::Transform(const float3x3 &transform); [5 lines of code]void Plane::Transform(const float3x4 &transform); [10 lines of code] void Plane::Transform(const float4x4 &transform); [5 lines of code] void Plane::Transform(const Quat &transform); [5 lines of code] Applies a transformation to this plane. This function operates in-place. For Plane-float3x4 transform code, see Eric Lengyel's Mathematics for 3D Game Programming And Computer Graphics 2nd ed., p.110, chapter 4.2.3. See AlsoWork in progress:Todo: in void Plane::Transform(const float3x3 &transform): Could optimize the inverse here by assuming orthogonality or orthonormality. Todo: in void Plane::Transform(const float3x4 &transform): Could optimize this function by switching to plane convention ax+by+cz+d=0 instead of ax+by+cz=d. Todo: in void Plane::Transform(const float3x4 &transform): Can optimize the inverse here by assuming orthogonality or orthonormality. |