ddevault / Craft.Net

(Unmaintained, see TrueCraft) Minecraft server, client, and etc for .NET
MIT License
228 stars 64 forks source link

Tweaked Distance in Vector3 #141

Closed hellow554 closed 11 years ago

hellow554 commented 11 years ago

I don't know why you make things so complicated ;)

Also i would recommend to pass all Vector3 instances by reference, cause Vector3 is a struct, that means it will be copied every time you pass it as an parameter. This will cost time!

http://www.opentk.com/doc/chapter/2/rules_of_thumb (rule 3)

ddevault commented 11 years ago

Another pull request that changes this is certainly welcome.