Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FlaxEngine/FlaxEngine
/ TriangleArea
Method
TriangleArea
Source/Engine/Core/Math/Vector3.cpp:313–316 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
311
312
template<>
313
float Float3::TriangleArea(const Float3& v0, const Float3& v1, const Float3& v2)
314
{
315
return ((v2 - v0) ^ (v1 - v0)).Length() * 0.5f;
316
}
317
318
template<>
319
float Float3::Angle(const Float3& from, const Float3& to)
Callers
nothing calls this directly
Calls
1
Length
Method · 0.45
Tested by
no test coverage detected