Talk:IsElementInRange: Difference between revisions
Jump to navigation
Jump to search
(alternative version) |
(No difference)
|
Latest revision as of 13:31, 4 August 2012
Consider replacing it with
function isElementInRange(theElement, x,y,z,range) return getDistanceBetweenPoints3D(getElementPosition(target_element), x,y,z)<=range end
Which is shorter, cleaner and probably faster. --Wielebny 13:31, 4 August 2012 (UTC)