CoriEngine
Loading...
Searching...
No Matches
Cori::Physics::CastResult Struct Reference

#include <Physics.hpp>

Public Member Functions

 CastResult ()=default

Public Attributes

bool hit { false }
float fraction
Vec2 point
Vec2 normal
ShapeRef shape

Detailed Description

Definition at line 132 of file Physics/Physics.hpp.

Constructor & Destructor Documentation

◆ CastResult()

Cori::Physics::CastResult::CastResult ( )
default

Member Data Documentation

◆ fraction

float Cori::Physics::CastResult::fraction

Definition at line 136 of file Physics/Physics.hpp.

◆ hit

bool Cori::Physics::CastResult::hit { false }

Definition at line 135 of file Physics/Physics.hpp.

◆ normal

Vec2 Cori::Physics::CastResult::normal

Definition at line 138 of file Physics/Physics.hpp.

◆ point

Vec2 Cori::Physics::CastResult::point

Definition at line 137 of file Physics/Physics.hpp.

◆ shape

ShapeRef Cori::Physics::CastResult::shape

Definition at line 139 of file Physics/Physics.hpp.


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