#include <qafEnvironment.h>
The extremities are represented in room coordinates, not screen coordinates. In other words, you don't need to worry about scrolling.
The vector will be rendered as an arrow pointing from p1
to p2
, in the specified color
.
DebugVector
s are only available if you initialize the Environment
with useDebug
set to true.
Public Member Functions | |
DebugVector (Vector2D &_p1, Vector2D &_p2, DWORD _color) | |
void | render () |