VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
Math.hpp
Go to the documentation of this file.
1#pragma once
2
3// Include this for Vector and QAngle instead of the SDK's <mathlib/vector.h>.
4#include <mathlib/vector.h>
5
6namespace VoltMod
7{
8
9/** The engine's Vector. Its default constructor leaves the value uninitialised; write
10 * `Vector{0.0f, 0.0f, 0.0f}` for a zero. */
12
13/** The engine's angles in degrees: (pitch, yaw, roll), positive pitch looks down. */
15
16/** The unit vector @p angles aim along; roll does not change it. */
18
19} // namespace VoltMod
static std::string ReadFile(const std::filesystem::path &path)
Definition Loader.cpp:56
Vector AngleToForward(const QAngle &angles)
Definition Math.cpp:7
::QAngle QAngle
Definition Math.hpp:14
::Vector Vector
Definition Math.hpp:11