| 52 | |
| 53 | |
| 54 | void AmbientLight_Constructor(AmbientLight* self, |
| 55 | const Vec3fa& radiance) |
| 56 | { |
| 57 | Light_Constructor(&self->super); |
| 58 | self->radiance = radiance; |
| 59 | //self->super.sample = GET_FUNCTION_POINTER(AmbientLight_sample); |
| 60 | //self->super.eval = GET_FUNCTION_POINTER(AmbientLight_eval); |
| 61 | self->super.type = LIGHT_AMBIENT; |
| 62 | } |
| 63 | |
| 64 | |
| 65 | // Exports (called from C++) |
no test coverage detected