17 lines
686 B
C++
17 lines
686 B
C++
#pragma once
|
|
|
|
class IVDebugOverlay {
|
|
public:
|
|
bool ScreenPosition(const Vector& vIn, Vector& vOut) {
|
|
typedef bool (*oScreenPosition)(void*, const Vector&, Vector&);
|
|
return getvfunc<oScreenPosition>(this, 11)(this, vIn, vOut);
|
|
}
|
|
|
|
void DrawPill(const Vector& mins, const Vector& max, float& diameter, int r,
|
|
int g, int b, int a, float duration) {
|
|
typedef void (*OriginalFn)(void*, const Vector&, const Vector&, float&,
|
|
int, int, int, int, float);
|
|
return getvfunc<OriginalFn>(this, 23)(this, mins, max, diameter, r, g,
|
|
b, a, duration);
|
|
}
|
|
}; |