Toast Engine
Loading...
Searching...
No Matches
anchor_mask.hpp File Reference

TODO: Brief description of the file's purpose. More...

#include <cstdint>
Include dependency graph for anchor_mask.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

using physics::AnchorMask = uint8_t

Enumerations

enum class  AnchorFace : uint8_t {
  neg_x = 0b000001 , pos_x = 0b000010 , neg_y = 0b000100 , pos_y = 0b001000 ,
  neg_z = 0b010000 , pos_z = 0b100000
}

Functions

constexpr auto physics::anchorFaceBit (AnchorFace face) -> AnchorMask
constexpr auto physics::hasAnchorFace (AnchorMask mask, AnchorFace face) -> bool

Variables

constexpr AnchorMask physics::k_anchor_null = 0
constexpr AnchorMask physics::k_anchor_bottom = static_cast<AnchorMask>(AnchorFace::neg_z)

Detailed Description

TODO: Brief description of the file's purpose.

Author
Xein
Date
19 Sep 2026