// Copyright (C) 2020 Jérôme Leclercq // This file is part of the "Nazara Engine - Mathematics module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_ENUMS_MATH_HPP #define NAZARA_ENUMS_MATH_HPP #include namespace Nz { enum class AngleUnit { Degree, Radian }; enum class BoxCorner { FarLeftBottom, FarLeftTop, FarRightBottom, FarRightTop, NearLeftBottom, NearLeftTop, NearRightBottom, NearRightTop, Max = NearRightTop }; constexpr std::size_t BoxCornerCount = UnderlyingCast(BoxCorner::Max) + 1; enum class Extend { Finite, Infinite, Null, Max = Null }; enum class FrustumPlane { Bottom, Far, Left, Near, Right, Top, Max = Top }; constexpr std::size_t FrustumPlaneCount = UnderlyingCast(FrustumPlane::Max) + 1; enum class IntersectionSide { Inside, Intersecting, Outside, Max = Outside }; enum class RectCorner { LeftBottom, LeftTop, RightBottom, RightTop, Max = RightTop }; } #endif // NAZARA_ENUMS_MATH_HPP