Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TorqueGameEngines/Torque3D
/ distanceToSurface
Method
distanceToSurface
Engine/source/environment/river.cpp:579–582 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
577
}
578
579
F32 RiverSegment::distanceToSurface(const Point3F &pnt) const
580
{
581
return mPlanes[4].distToPlane( pnt );
582
}
583
584
bool River::smEditorOpen = false;
585
bool River::smWireframe = false;
Callers
1
getWaterCoverage
Method · 0.45
Calls
1
distToPlane
Method · 0.80
Tested by
no test coverage detected