mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-26 23:17:25 +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();
|
|
} |