VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::TraceHit Struct Reference

#include <Trace.hpp>

Public Attributes

bool Hit = false
 also true when the start is inside a solid
 
float Fraction = 1.0f
 share of the path travelled
 
Vector End
 
Vector Normal
 zero without a hit
 
EntityRef HitEntity
 the world included
 
bool HitWorld = false
 

Detailed Description

Definition at line 30 of file Trace.hpp.

Member Data Documentation

◆ End

Vector VoltMod::TraceHit::End

Definition at line 34 of file Trace.hpp.

◆ Fraction

float VoltMod::TraceHit::Fraction = 1.0f

share of the path travelled

Definition at line 33 of file Trace.hpp.

◆ Hit

bool VoltMod::TraceHit::Hit = false

also true when the start is inside a solid

Definition at line 32 of file Trace.hpp.

Referenced by VoltMod::ToHit().

◆ HitEntity

EntityRef VoltMod::TraceHit::HitEntity

the world included

Definition at line 36 of file Trace.hpp.

◆ HitWorld

bool VoltMod::TraceHit::HitWorld = false

Definition at line 37 of file Trace.hpp.

◆ Normal

Vector VoltMod::TraceHit::Normal

zero without a hit

Definition at line 35 of file Trace.hpp.


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