|
OpenEnroth 90c43ae
|
#include "Engine/Graphics/RenderEntities.h"#include "Engine/Objects/ActorEnums.h"#include "Engine/Pid.h"#include "Library/Geometry/Plane.h"#include "Utility/Flags.h"Classes | |
| struct | Vis_SelectionFilter |
| struct | Vis_PIDAndDepth |
| struct | Vis_ObjectInfo |
| struct | Vis_SelectionList |
| class | Vis |
Enumerations | |
| enum class | VisObjectType : uint32_t { VisObjectType_Any = 0 , VisObjectType_Sprite = 1 , VisObjectType_Face = 2 } |
| enum class | VisSelectFlag : uint32_t { None = 0 , VisSelectFlags_1 = 1 , ExcludeType = 2 , ExclusionIfNoEvent = 4 , TargetUndead = 8 } |
Functions | |
| bool | IsBModelVisible (BSPModel *model, int reachable_depth, bool *reachable) |
| bool | IsSphereInFrustum (Vec3f center, float radius, Planef *frustum=nullptr) |
| bool | IsCylinderInFrustum (Vec3f center, float radius) |
|
strong |
|
strong |
| bool IsBModelVisible | ( | BSPModel * | model, |
| int | reachable_depth, | ||
| bool * | reachable | ||
| ) |
| model | Pointer to model to check against. | |
| reachable_depth | A depth distance for checking interaction against. | |
| [out] | reachable | Whether the model is within the reachable depth specified. |
| bool IsCylinderInFrustum | ( | Vec3f | center, |
| float | radius | ||
| ) |
| center | Vec3f of centre point of cylinder. |
| radius | Float of cylinder radius. |
| center | Vec3f of centre point of sphere. |
| radius | Float of sphere radius. |
| frustum | Ptr to set of planes to check against - camera used in not supplied. |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |