/** * @brief Checks whether a point is "visible" from the edicts position * @sa FrustumVis */ bool G_FrustumVis (const Edict* from, const vec3_t point) { if (G_IsActiveCamera(from)) { /* it's a 360 degree camera */ if (from->camera.rotate) return true; } return FrustumVis(from->origin, from->dir, point); }
/** * @brief Checks whether a point is "visible" from the edicts position * @sa FrustumVis */ bool G_FrustumVis (const edict_t *from, const vec3_t point) { return FrustumVis(from->origin, from->dir, point); }