Pixel-Composer/scripts/d3d_gizmo_line/d3d_gizmo_line.gml
2023-08-22 11:51:45 +02:00

7 lines
No EOL
209 B
Text

function __3dGizmoLine(from, to, color = c_white, alpha = 1) : __3dGizmo() constructor {
vertex = [
[ from.x, from.y, from.z, color, alpha ],
[ to.x, to.y, to.z, color, alpha ],
];
VB = build();
}