| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- // Copyright (C) 2009-present, Panagiotis Christopoulos Charitos and contributors.
- // All rights reserved.
- // Code licensed under the BSD License.
- // http://www.anki3d.org/LICENSE
- #pragma once
- #include <AnKi/Collision/Forward.h>
- #include <AnKi/Math.h>
- #include <AnKi/Util/Enum.h>
- namespace anki {
- /// @addtogroup collision
- /// @{
- /// The 6 frustum planes.
- enum class FrustumPlaneType : U8
- {
- kNear,
- kFar,
- kLeft,
- kRight,
- kTop,
- kBottom,
- kCount,
- kFirst = 0
- };
- ANKI_ENUM_ALLOW_NUMERIC_OPERATIONS(FrustumPlaneType)
- /// Collision shape type.
- enum class CollisionShapeType : U8
- {
- kPlane,
- kLineSegment,
- kRay,
- kAabb,
- kSphere,
- kObb,
- kConvexHull,
- kCone,
- kCount,
- kFirst = 0
- };
- ANKI_ENUM_ALLOW_NUMERIC_OPERATIONS(CollisionShapeType)
- /// Frustum type
- enum class FrustumType : U8
- {
- kPerspective,
- kOrthographic,
- kCount,
- kFirst = 0
- };
- ANKI_ENUM_ALLOW_NUMERIC_OPERATIONS(FrustumType)
- /// @}
- } // end namespace anki
|