mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-25 06:26:42 +01:00
7 lines
No EOL
235 B
Text
7 lines
No EOL
235 B
Text
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();
|
|
} |