-
-
Notifications
You must be signed in to change notification settings - Fork 667
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PERF: Make
m_ObjectToWorldTransformInverse->TransformPoint
non-virtual
Suppressed the virtual call mechanism for `m_ObjectToWorldTransformInverse->TransformPoint(point)` by explicit qualification with the `TransformType` scope, in the five `SpatialObject` "InWorldSpace" member functions. A performance improvement of more than 13 % was observed, from more than 0.36 sec. (before this commit) to less than 0.31 sec. (after this commit) when calling IsInsideInWorldSpace(point) 2^25 times, using VS2022 Release.
- Loading branch information
1 parent
2ca2351
commit 4ae04b3
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters