MCPcopy Create free account
hub / github.com/JACoders/OpenJK / cgi_R_AddLightToScene

Function cgi_R_AddLightToScene

code/cgame/cg_syscalls.cpp:325–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323}
324
325void cgi_R_AddLightToScene( const vec3_t org, float intensity, float r, float g, float b ) {
326 Q_syscall( CG_R_ADDLIGHTTOSCENE, org, PASSFLOAT(intensity), PASSFLOAT(r), PASSFLOAT(g), PASSFLOAT(b) );
327}
328
329void cgi_R_RenderScene( const refdef_t *fd ) {
330 Q_syscall( CG_R_RENDERSCENE, fd );

Callers 10

AddLightToSceneMethod · 0.70
CG_AddLocalLightFunction · 0.70
CG_EntityEffectsFunction · 0.70
CG_GeneralFunction · 0.70
CG_ItemFunction · 0.70
CG_MissileFunction · 0.70
CG_DLightThinkFunction · 0.70
CG_DoSaberLightFunction · 0.70
CG_DoSaberFunction · 0.70
CG_PlayerFunction · 0.70

Calls 1

PASSFLOATFunction · 0.70

Tested by

no test coverage detected