added everything

This commit is contained in:
Metario
2017-04-17 06:17:10 -06:00
commit 9c6ff74f19
6121 changed files with 1625704 additions and 0 deletions

33
engine/math/mPlaneTransformer.h Executable file
View File

@@ -0,0 +1,33 @@
//-----------------------------------------------------------------------------
// Torque Game Engine
// Copyright (C) GarageGames.com, Inc.
//-----------------------------------------------------------------------------
#ifndef _MPLANETRANSFORMER_H_
#define _MPLANETRANSFORMER_H_
#ifndef _MMATRIX_H_
#include "math/mMatrix.h"
#endif
#ifndef _MPOINT_H_
#include "math/mPoint.h"
#endif
#ifndef _MPLANE_H_
#include "math/mPlane.h"
#endif
// =========================================================
class PlaneTransformer
{
MatrixF mTransform;
Point3F mScale;
MatrixF mTransposeInverse;
public:
void set(const MatrixF& xform, const Point3F& scale);
void transform(const PlaneF& plane, PlaneF& result);
void setIdentity();
};
#endif