MakeVectorFromPoints Function

Builds a vector from two points by subtracting the points.

void MakeVectorFromPoints(const float pt1[3], const float pt2[3], float output[3])

Parameters

const float[3] pt1

First point (to be subtracted from the second).

const float[3] pt2

Second point.

float[3] output

Output vector buffer.