MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / side

Method side

source/core/StarPoly.hpp:340–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338
339template <typename DataType>
340typename Polygon<DataType>::Line Polygon<DataType>::side(size_t i) const {
341 return sideAt(i % m_vertexes.size());
342}
343
344template <typename DataType>
345DataType Polygon<DataType>::distance(Vertex const& c) const {

Callers 5

collisionMoveMethod · 0.80
logPolyMethod · 0.80
fixInsideOutPolyFunction · 0.80
splitPolyMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected