some actor documentation and cleanup

This commit is contained in:
LagoLunatic
2024-01-18 18:55:47 -05:00
parent e724cdf62e
commit fa5010b1dd
35 changed files with 358 additions and 325 deletions
+2 -2
View File
@@ -363,9 +363,9 @@ bool cCcD_CpsAttr::GetNVec(const cXyz& vec, cXyz* dst) const {
cXyz pt;
if (dot < 0.0f) {
pt.set(*GetStartP());
pt.set(GetStart());
} else if (dot > 1.0f) {
pt.set(*GetEndP());
pt.set(GetEnd());
} else {
VECScale(&lin, &lin, dot);
VECAdd(&lin, GetStartP(), &pt);