| 1011 | }*/ |
| 1012 | |
| 1013 | void GFX3D::PipeLine::SetLightSource(uint32_t nSlot, uint32_t nType, olc::Pixel col, olc::GFX3D::vec3d pos, olc::GFX3D::vec3d dir, float fParam) |
| 1014 | { |
| 1015 | if (nSlot < 4) |
| 1016 | { |
| 1017 | lights[nSlot].type = nType; |
| 1018 | lights[nSlot].pos = pos; |
| 1019 | lights[nSlot].dir = dir; |
| 1020 | lights[nSlot].col = col; |
| 1021 | lights[nSlot].param = fParam; |
| 1022 | } |
| 1023 | } |
| 1024 | |
| 1025 | uint32_t GFX3D::PipeLine::Render(std::vector<olc::GFX3D::triangle> &triangles, uint32_t flags) |
| 1026 | { |
nothing calls this directly
no outgoing calls
no test coverage detected