#include <flowvis_canvas.h>
Public Member Functions | |
ArrowPoint (float pos_x, float pos_y, vec3 velocity) | |
Constructor. | |
Public Attributes | |
float | x |
Horizontal position within the field (mapped to -1 ... +1). | |
float | y |
Vertical position within the field (mapped to -1 ... +1). | |
float | rotation |
Rotation of the velocity vector at the given location (in degrees). | |
float | length |
Length of the velocity vector at the given location (determines the arrows size). |
Definition at line 59 of file flowvis_canvas.h.
ArrowPoint::ArrowPoint | ( | float | pos_x, | |
float | pos_y, | |||
vec3 | velocity | |||
) | [inline] |
Constructor.
Definition at line 62 of file flowvis_canvas.h.
References Angle(), vec3::length(), length, and rotation.
float ArrowPoint::x |
Horizontal position within the field (mapped to -1 ... +1).
Definition at line 70 of file flowvis_canvas.h.
float ArrowPoint::y |
Vertical position within the field (mapped to -1 ... +1).
Definition at line 72 of file flowvis_canvas.h.
float ArrowPoint::rotation |
Rotation of the velocity vector at the given location (in degrees).
Definition at line 74 of file flowvis_canvas.h.
Referenced by ArrowPoint().
float ArrowPoint::length |
Length of the velocity vector at the given location (determines the arrows size).
Definition at line 76 of file flowvis_canvas.h.
Referenced by ArrowPoint().