Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ObEngine/ObEngine
/ toSfVertex
Function
toSfVertex
src/Core/Graphics/Sprite.cpp:30–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
28
}
29
30
sf::Vertex toSfVertex(const Transform::UnitVector& uv)
31
{
32
return sf::Vertex(sf::Vector2f(uv.x, uv.y));
33
}
34
35
Sprite::Sprite(const std::string& id)
36
: Selectable(false)
Callers
1
draw
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected