mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-11-16 07:23:52 +01:00
7 lines
235 B
Plaintext
7 lines
235 B
Plaintext
function __3dGizmoLine(from, to, color = c_white, alpha = 1) : __3dGizmo() constructor {
|
|
vertex = [[
|
|
new __vertex( from.x, from.y, from.z, color, alpha ),
|
|
new __vertex( to.x, to.y, to.z, color, alpha ),
|
|
]];
|
|
VB = build();
|
|
} |