GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::physics::CenterOfBuoyancy< N > Struct Template Reference

World-space offset of the center of buoyancy of an object. More...

#include <GREM/physics/objects.hpp>

Inheritance diagram for grem::physics::CenterOfBuoyancy< N >:

Public Member Functions

constexpr bool operator== (const CenterOfBuoyancy &other) const noexcept=default
 Compare this value to another for equality.

Detailed Description

template<size_t N>
struct grem::physics::CenterOfBuoyancy< N >

World-space offset of the center of buoyancy of an object.

Template Parameters
Nnumber of dimensions of the world space (must be 2 or 3).

Member Function Documentation

◆ operator==()

template<size_t N>
bool grem::physics::CenterOfBuoyancy< N >::operator== ( const CenterOfBuoyancy< N > & other) const
nodiscardconstexprdefaultnoexcept

Compare this value to another for equality.

Parameters
otherthe value to compare this one to.
Returns
true if the values are equal, false otherwise.

The documentation for this struct was generated from the following file: