| 108 | |
| 109 | //! Set the parameters of an ispc-side PointLight object |
| 110 | extern "C" void PointLight_set(void* super, |
| 111 | const Vec3fa& position, |
| 112 | const Vec3fa& power, |
| 113 | float radius) |
| 114 | { |
| 115 | PointLight* self = (PointLight*)super; |
| 116 | self->position = position; |
| 117 | self->power = power; |
| 118 | self->radius = radius; |
| 119 | } |
| 120 | |
| 121 | //! Create an ispc-side PointLight object |
| 122 | extern "C" void* PointLight_create() |
no outgoing calls
no test coverage detected