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

Method AddLine

trinity/Tr2LineSet.cpp:180–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180void Tr2LineSet::AddLine( const Vector3& position1, const Vector4& color1, const Vector3& position2, const Vector4& color2 )
181{
182 LineData newLine;
183
184 newLine.m_position1 = position1;
185 newLine.m_color1 = color1;
186 newLine.m_position2 = position2;
187 newLine.m_color2 = color2;
188
189 m_lines.push_back( newLine );
190}
191
192// Python Exposed Methods
193void Tr2LineSet::AddPickingTriangle( const Vector3& position1, const Vector3& position2, const Vector3& position3 )

Callers 4

GenLineSetsMethod · 0.45
GenLineSetsMethod · 0.45
GenLineSetsMethod · 0.45
UpdateLinesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected