MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / RenderObject_SetLightmaps

Function RenderObject_SetLightmaps

Descent3/renderobject.cpp:1473–1477  ·  view source on GitHub ↗

Sets the object render to draw a polymodel with lightmaps applied

Source from the content-addressed store, hash-verified

1471}
1472// Sets the object render to draw a polymodel with lightmaps applied
1473void RenderObject_SetLightmaps(lightmap_object *lmobject) {
1474 ASSERT(lmobject->used);
1475 RenderObjectType = RO_LIGHTMAPS;
1476 RenderObjectLightmapObject = lmobject;
1477}
1478
1479ddgr_color Player_colors[] = {
1480 GR_RGB(255, 0, 0), GR_RGB(0, 32, 255), GR_RGB(0, 255, 0), GR_RGB(255, 255, 0), GR_RGB(32, 64, 96),

Callers 2

SetupTerrainObjectFunction · 0.85
SetupMineObjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected