VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
Math.cpp
Go to the documentation of this file.
1
#include <
VoltMod/Engine/Math.hpp
>
2
#include <mathlib/mathlib.h>
3
4
namespace
VoltMod
5
{
6
7
Vector
AngleToForward
(
const
QAngle
&
angles
)
8
{
9
Vector
forward
;
10
AngleVectors
(
angles
, &
forward
);
11
return
forward
;
12
}
13
14
}
// namespace VoltMod
Math.hpp
VoltMod
Definition
Options.hpp:13
VoltMod::ReadFile
static std::string ReadFile(const std::filesystem::path &path)
Definition
Loader.cpp:56
VoltMod::AngleToForward
Vector AngleToForward(const QAngle &angles)
Definition
Math.cpp:7
VoltMod::QAngle
::QAngle QAngle
Definition
Math.hpp:14
VoltMod::Vector
::Vector Vector
Definition
Math.hpp:11
src
Engine
Math.cpp
Generated by
1.9.8