VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
Math.hpp File Reference
#include <mathlib/vector.h>
#include <numbers>

Go to the source code of this file.

Classes

struct  VoltMod::Axes

Namespaces

namespace  VoltMod

Typedefs

using VoltMod::Vector = ::Vector
using VoltMod::QAngle = ::QAngle

Functions

Vector VoltMod::AngleToForward (const QAngle &angles)
Vector VoltMod::YawToForward (float yaw)
Axes VoltMod::AngleToAxes (const QAngle &angles)
Vector VoltMod::OffsetLocal (const Vector &origin, const QAngle &angles, const Vector &forwardLeftUp)
QAngle VoltMod::AngleTo (const Vector &from, const Vector &to)
float VoltMod::AngleDelta (float from, float to)
float VoltMod::TurnToward (float current, float target, float maxStep)

Variables

constexpr float VoltMod::DegreesPerRadian = 180.0f / std::numbers::pi_v<float>