Moderator
M
Moderator
16:33, 9th Dec 2012
Magtheridon96: Awesome!
Your code is clean, commented, and it's efficient![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
One tip:
- In the loop, you can store the angle between the caster and the target into a temporary real variable so you don't end up repeating the calculation more than once.
Magtheridon96: Awesome!
Your code is clean, commented, and it's efficient
One tip:
- In the loop, you can store the angle between the caster and the target into a temporary real variable so you don't end up repeating the calculation more than once.