7#include "Math/Matrix.h"
13
14
22
23
24
25
26 TMirrorMatrix(
const TPlane<T>& Plane );
30 explicit TMirrorMatrix(
const TMirrorMatrix<FArg>& From) : TMatrix<T>(From) {}
34FORCEINLINE TMirrorMatrix<T>::TMirrorMatrix(
const TPlane<T>& Plane ) :
36 TPlane<T>( -2.f*Plane.X*Plane.X + 1.f, -2.f*Plane.Y*Plane.X, -2.f*Plane.Z*Plane.X, 0.f ),
37 TPlane<T>( -2.f*Plane.X*Plane.Y, -2.f*Plane.Y*Plane.Y + 1.f, -2.f*Plane.Z*Plane.Y, 0.f ),
38 TPlane<T>( -2.f*Plane.X*Plane.Z, -2.f*Plane.Y*Plane.Z, -2.f*Plane.Z*Plane.Z + 1.f, 0.f ),
39 TPlane<T>( 2.f*Plane.X*Plane.W, 2.f*Plane.Y*Plane.W, 2.f*Plane.Z*Plane.W, 1.f ) )
49template<>
struct TIsUECoreVariant<FMirrorMatrix44f> {
enum { Value =
true }; };
50template<>
struct TIsUECoreVariant<FMirrorMatrix44d> {
enum { Value =
true }; };
#define UE_DECLARE_LWC_TYPE(...)
#define TEMPLATE_REQUIRES(...)