MCPcopy Create free account
hub / github.com/carbonengine/trinity / SetShapeEllipsoid

Method SetShapeEllipsoid

trinity/Eve/SpaceObject/EveSpaceObject2.cpp:3329–3333  ·  view source on GitHub ↗

-------------------------------------------------------------------------------- Description: Set the user-authored shape ellipsoid. This will be used instead of the dynamically generated. Can accept nullptr --------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

3327// dynamically generated. Can accept nullptr
3328// --------------------------------------------------------------------------------
3329void EveSpaceObject2::SetShapeEllipsoid( const CcpMath::AxisAlignedEllipsoid& ellipsoid )
3330{
3331 m_shapeEllipsoidCenter = ellipsoid.center;
3332 m_shapeEllipsoidRadius = ellipsoid.radii;
3333}
3334
3335// --------------------------------------------------------------------------------
3336// Description:

Callers 2

SetupMeshMethod · 0.80
CreatePlacementMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected