| 590 | } |
| 591 | |
| 592 | void TransformedView::DrawExplicitDecal(olc::Decal* decal, const olc::vf2d* pos, const olc::vf2d* uv, const olc::Pixel* col, uint32_t elements) |
| 593 | { |
| 594 | std::vector<olc::vf2d> vTransformed(elements); |
| 595 | for (uint32_t n = 0; n < elements; n++) |
| 596 | vTransformed[n] = WorldToScreen(pos[n]); |
| 597 | pge->DrawExplicitDecal(decal, vTransformed.data(), uv, col, elements); |
| 598 | } |
| 599 | |
| 600 | void TransformedView::DrawWarpedDecal(olc::Decal* decal, const olc::vf2d* pos, const olc::Pixel& tint) |
| 601 | { |
nothing calls this directly
no outgoing calls
no test coverage detected