| 904 | // *********************************************************************** |
| 905 | |
| 906 | void Light(int id, Vec3f direction, Vec3f color) { |
| 907 | if (id > 2) |
| 908 | return; |
| 909 | |
| 910 | pRenderState->lightDirectionsStates[id] = Vec4f::Embed3D(direction); |
| 911 | pRenderState->lightColorStates[id] = Vec4f::Embed3D(color); |
| 912 | } |
| 913 | |
| 914 | // *********************************************************************** |
| 915 |