Vector 2pt in C# Scripting Component?

How do I draw a vector between two points in a C# script?

// Vector from point A to point B   ( A--->B )

Vector3d vec = pt_B - pt_A;

You don’t even have to use the Vector3d type (the correct type is inferred):

var vec = pt_B - pt_A;

// Rolf

1 Like