This repository has been archived on 2024-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
nekohook/modules/gmod/util/mathlib.hpp
2020-08-04 13:13:01 -04:00

19 lines
387 B
C++

/*
*
* Helpers for math conversion between the framework and the module
*
*/
#pragma once
#include "../../../util/mathlib.hpp" // CatVector()
#include "../sdk/sdk.hpp" // Vector()
inline CatVector ToCatVector(Vector input) {
return CatVector(input.x, input.y, input.z);
}
inline Vector ToVector(CatVector input) {
return Vector(input.x, input.y, input.z);
}