| 101 | } |
| 102 | |
| 103 | void iLightSetPos(iLight* light, xVec3* pos) |
| 104 | { |
| 105 | RwFrame* f = RpLightGetFrame(light->hw); |
| 106 | RwMatrix* m = RwFrameGetMatrix(f); |
| 107 | |
| 108 | RwMatrixGetPos(m)->x = pos->x; |
| 109 | RwMatrixGetPos(m)->y = pos->y; |
| 110 | RwMatrixGetPos(m)->z = pos->z; |
| 111 | |
| 112 | RwMatrixUpdate(m); |
| 113 | |
| 114 | RwFrameUpdateObjects(f); |
| 115 | } |
| 116 | |
| 117 | void iLightDestroy(iLight* light) |
| 118 | { |