mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Update mPoint3.h
missed convolve and convolveInverse
This commit is contained in:
parent
014e319aa8
commit
5c3c0546f6
1 changed files with 2 additions and 6 deletions
|
|
@ -592,16 +592,12 @@ inline void Point3F::neg()
|
||||||
|
|
||||||
inline void Point3F::convolve(const Point3F& c)
|
inline void Point3F::convolve(const Point3F& c)
|
||||||
{
|
{
|
||||||
x *= c.x;
|
GetFloat3().mul(*this, c, *this);
|
||||||
y *= c.y;
|
|
||||||
z *= c.z;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void Point3F::convolveInverse(const Point3F& c)
|
inline void Point3F::convolveInverse(const Point3F& c)
|
||||||
{
|
{
|
||||||
x /= c.x;
|
GetFloat3().div(*this, c, *this);
|
||||||
y /= c.y;
|
|
||||||
z /= c.z;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
inline F32 Point3F::lenSquared() const
|
inline F32 Point3F::lenSquared() const
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue