Page MenuHomeFeedback Tracker

Overload distance and distanceSqr to take scalars inside of vectors
Feedback, NormalPublic

Description

Overloading distance and distanceSqr allows us to bypass having to use the hypotenuse formula hypo = sqrt(x^2 + y^2) or use vectorMagnitude and create an unwanted/unneeded array.

private _distance = _xValue distance _yValue;
private _distanceSqr = _xValue distanceSqr _yValue;

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
General

Event Timeline

Revision: 151112

BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Oct 26 2023, 10:57 AM
BIS_fnc_KK changed the task status from New to Feedback.
BIS_fnc_KK added a subscriber: BIS_fnc_KK.
dedmen set Ref Ticket to AIII-56053.Dec 7 2023, 6:22 PM