mirror of
https://github.com/tribes2/engine.git
synced 2026-01-20 03:34:48 +00:00
22 lines
592 B
C++
22 lines
592 B
C++
//-----------------------------------------------------------------------------
|
|
// V12 Engine
|
|
//
|
|
// Copyright (c) 2001 GarageGames.Com
|
|
// Portions Copyright (c) 2001 by Sierra Online, Inc.
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#include "Math/mMathFn.h"
|
|
#include "Math/mPlane.h"
|
|
#include "Math/mMatrix.h"
|
|
|
|
|
|
void mTransformPlane(const MatrixF& mat,
|
|
const Point3F& scale,
|
|
const PlaneF& plane,
|
|
PlaneF* result)
|
|
{
|
|
m_matF_x_scale_x_planeF(mat, &scale.x, &plane.x, &result->x);
|
|
}
|
|
|
|
|