QcProjectileMesher Namespace
The model of a projectile (an arrow, decision E-425): the item's icon, which lies on its diagonal from the tail at the bottom left to the head at the top right, drawn as two crossed squares whose diagonals run along the flight, so the head points where it flies and the fletching shows from every side, like the reference's arrows. More...
| Header: | #include <clientcore/entitymeshes/QcProjectileMesher.h> |
Classes
| struct | Placement |
Variables
| const double | length |
Functions
| void | append(QcEntityMesh &mesh, const QcProjectileMesher::Placement &placement, const QRectF &icon) |
Detailed Description
Classes
class Placement
Where and how a projectile is drawn this frame: its centre, yaw and pitch (degrees, as players look) and its light. More...
Variable Documentation
const double QcProjectileMesher::length
Length of the drawn projectile from tail to head (m).
Function Documentation
void QcProjectileMesher::append(QcEntityMesh &mesh, const QcProjectileMesher::Placement &placement, const QRectF &icon)
Appends the projectile at placement to mesh, cut from the atlas rectangle icon of its item's icon.