MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / getPoint

Method getPoint

include/Core/Graphics/Shapes.hpp:213–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211 }
212
213 template <class T> Transform::UnitVector Shape<T>::getPoint(std::size_t index) const
214 {
215 const sf::Vector2f pointPosition
216 = static_cast<const T&>(*this).shape.getPoint(index);
217 return Transform::UnitVector(
218 pointPosition.x, pointPosition.y, Transform::Units::ScenePixels);
219 }
220
221 template <class T> Transform::Rect Shape<T>::getLocalBounds() const
222 {

Callers 1

getPointPositionMethod · 0.80

Calls 1

UnitVectorClass · 0.85

Tested by

no test coverage detected