Sets the polygon render object type to static (one lightval for whole object)
| 1454 | } |
| 1455 | // Sets the polygon render object type to static (one lightval for whole object) |
| 1456 | void RenderObject_SetStatic(float r, float g, float b) { |
| 1457 | RenderObjectType = RO_STATIC; |
| 1458 | RenderObjectStaticRedValue = r; |
| 1459 | RenderObjectStaticGreenValue = g; |
| 1460 | RenderObjectStaticBlueValue = b; |
| 1461 | RenderObjectStaticScalar = 1.0; |
| 1462 | } |
| 1463 | // Sets the polygon render object type to gouraud (one lightval for each vertex) |
| 1464 | void RenderObject_SetGouraud(vector *dir, float r, float g, float b, float scalar) { |
| 1465 | RenderObject_LightDirection = *dir; |
no outgoing calls
no test coverage detected