Description

There is code in the FIntVector class (IntVector.h) that seems to be copied from the FIntRect class which is a problem since FIntRect is two dimensonal while FIntVector is three dimensional. The one particular function where this is a problem is FIntVector::Num(). This function returns the number of components in the point and is hardcoded to return 2. This should be 3.

The other problem is a comment issue. The function FIntVector::Size()'s comments refer to the function getting the distance between 2 two dimensional points, when it should be listed as 2 three dimensional points.

Steps to Reproduce

No steps needed, code issue

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Gameplay
Affects Versions4.9.24.10.44.114.12
Target Fix4.12
Fix Commit2920996
Main Commit2926677
CreatedMar 10, 2016
ResolvedMar 24, 2016
UpdatedApr 27, 2018
View Jira Issue