(self, cameraPos)
| 29 | raise Exception("Too many lights") |
| 30 | |
| 31 | def update(self, cameraPos): |
| 32 | rl.SetShaderValue(self.shader, self.shader.locs[rl.SHADER_LOC_VECTOR_VIEW], rl.ffi.new("struct Vector3 *",cameraPos), rl.SHADER_UNIFORM_VEC3) |
| 33 | for light in self.lights: |
| 34 | light.UpdateLightValues() |
| 35 | |
| 36 | def draw(self): |
| 37 | for light in self.lights: |
no test coverage detected