returns true if this light point is visible
| 117 | |
| 118 | // returns true if this light point is visible |
| 119 | bool IsLightPointVisible(vector *pos, float size, object *obj) { |
| 120 | if (obj != NULL) { |
| 121 | if ((obj->flags & OF_RENDERED) || IsPointVisible(pos, size, NULL)) |
| 122 | return true; |
| 123 | } else { |
| 124 | if (IsPointVisible(pos, size, NULL)) |
| 125 | return true; |
| 126 | } |
| 127 | |
| 128 | return false; |
| 129 | } |
| 130 | |
| 131 | // Fills in the color of the passed in players thrusters. For lighting |
| 132 | void FindPlayerThrusterColor(int slot, float *r, float *g, float *b) { |
no test coverage detected