Add IDebugOverlay interface.
Signed-off-by: aixxe <me@aixxe.net>
This commit is contained in:
parent
1c2adbba17
commit
c8c27bcbcb
|
@ -0,0 +1,8 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
class IVDebugOverlay {
|
||||||
|
public:
|
||||||
|
bool ScreenPosition(const Vector& world, Vector& screen) {
|
||||||
|
return GetVirtualFunction<int(*)(IVDebugOverlay*, const Vector&, Vector&)>(this, 9)(this, world, screen) == 0;
|
||||||
|
}
|
||||||
|
};
|
Loading…
Reference in New Issue