Add IDebugOverlay interface.

Signed-off-by: aixxe <me@aixxe.net>
This commit is contained in:
aixxe 2016-12-19 18:55:45 +00:00
parent 1c2adbba17
commit c8c27bcbcb
1 changed files with 8 additions and 0 deletions

View File

@ -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;
}
};