Sets the polygon render object type to gouraud (one lightval for each vertex)
| 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; |
| 1466 | RenderObjectStaticRedValue = r; |
| 1467 | RenderObjectStaticGreenValue = g; |
| 1468 | RenderObjectStaticBlueValue = b; |
| 1469 | RenderObjectStaticScalar = scalar; |
| 1470 | RenderObjectType = RO_GOURAUD; |
| 1471 | } |
| 1472 | // Sets the object render to draw a polymodel with lightmaps applied |
| 1473 | void RenderObject_SetLightmaps(lightmap_object *lmobject) { |
| 1474 | ASSERT(lmobject->used); |
no outgoing calls
no test coverage detected