mirror of
https://github.com/zeldaret/tww.git
synced 2026-06-18 23:16:50 -04:00
some actor documentation and cleanup
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user