Toast Engine
Toggle main menu visibility
Loading...
Searching...
No Matches
physics::Rng Struct Reference
Public Member Functions
constexpr
Rng
(uint64_t seed) noexcept
constexpr auto
next
() noexcept -> uint64_t
constexpr auto
uniform
() noexcept -> float
constexpr auto
range
(float lo, float hi) noexcept -> float
constexpr auto
below
(uint32_t count) noexcept -> uint32_t
constexpr auto
chance
(float probability) noexcept -> bool
auto
direction
() noexcept -> glm::vec3
Public Attributes
uint64_t
state
= 0
The documentation for this struct was generated from the following file:
engine/src/toast/physics/
fracture_random.hpp
physics
Rng
Generated by
1.17.0