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

Method SetAngleY

trinity/Eve/SpaceObjectFactory/EveSOFData.cpp:746–757  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

744}
745
746void EveSOFDataHullBanner::SetAngleY( float angle )
747{
748 m_angleY = angle;
749 if( m_maintainAspectRatio )
750 {
751 float ratio = GetAspectRatio();
752 if( ratio != 0 )
753 {
754 m_scaling.x *= GetTargetAspectRatio() / ratio;
755 }
756 }
757}
758
759Vector3 EveSOFDataHullBanner::GetScaling() const
760{

Callers

nothing calls this directly

Calls 1

GetAspectRatioFunction · 0.85

Tested by

no test coverage detected