8 #ifndef META_OCEAN_PLATFORM_META_QUEST_APPLICATION_VR_VISUALIZER_H
9 #define META_OCEAN_PLATFORM_META_QUEST_APPLICATION_VR_VISUALIZER_H
115 explicit inline operator bool()
const;
184 ocean_assert(
width_ >= 0);
205 return Vector2(width_, height_);
213 return Vector2(width_, width_ / referenceAspectRatio);
217 return Vector2(height_ * referenceAspectRatio, height_);
236 *
this = std::move(vrVisualizer);
241 if (
this != &vrVisualizer)
243 engine_ = std::move(vrVisualizer.engine_);
255 inline VRVisualizer::operator bool()
const
This class implements a recursive lock object.
Definition: Lock.h:31
static constexpr T eps()
Returns a small epsilon.
static constexpr T ratio(const T nominator, const T denominator, const T fallback=T(1))
Returns the ratio between two values if the denominator is not equal a small epsilon.
Definition: Numeric.h:2076
static constexpr bool isNotEqualEps(const T value)
Returns whether a value is not smaller than or equal to a small epsilon.
Definition: Numeric.h:2237
float Scalar
Definition of a scalar type.
Definition: Math.h:128
VectorT2< Scalar > Vector2
Definition of a 2D vector.
Definition: Vector2.h:21
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15