ray static method
Draws a ray starting at origin along direction with length length.
Implementation
static void ray(
vm.Vector3 origin,
vm.Vector3 direction, {
double length = 1.0,
vm.Vector4? color,
}) {
line(origin, origin + direction.normalized() * length, color: color);
}