mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-19 19:35:26 +00:00
Merge pull request #1016 from Azaezel/alpha41/mangledMath
clean up math varsize complaints
This commit is contained in:
commit
a6f03897ed
30 changed files with 73 additions and 68 deletions
|
|
@ -915,7 +915,7 @@ inline bool mIsNaN( const Point2F &p )
|
|||
/// Return negative if p0p1p2 are clockwise
|
||||
inline F64 mCross(const Point2F &p0, const Point2F &p1, const Point2F &pt2)
|
||||
{
|
||||
return (p1.x - p0.x) * (pt2.y - p0.y) - (p1.y - p0.y) * (pt2.x - p0.x);
|
||||
return F64((p1.x - p0.x) * (pt2.y - p0.y) - (p1.y - p0.y) * (pt2.x - p0.x));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue