#include <qafTubeCursorObj.h>
Inheritance diagram for qaf::TubeCursorObj:
Use the arrow keys to move the blue cursor. Use the mouse to control the yellow cursor.
Press PageUp/PageDown to rotate the segment. Press NumPad +/- to change the segment's size.
A yellow "tube" is shot from the blue cursor to the yellow cursor. Red lines are drawn to display the contact points and normals.
Public Member Functions | |
TubeCursorObj (float _x, float _y) | |
void | update (int objLayer, float dt) |
void | render (int objLayer, float scrollX, float scrollY) |
Public Attributes | |
Vector2D | pos |
Vector2D | aim |
Vector2D | vel |
float | angle |
float | length |