tag:blogger.com,1999:blog-581197352358126527.post8041688394398674822..comments2024-03-28T00:32:25.959-07:00Comments on japh(r) by Chris Strom: Three.js Code Clean-UpAnonymoushttp://www.blogger.com/profile/00135361916531185929noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-581197352358126527.post-66295629227906542372012-09-18T18:37:59.574-07:002012-09-18T18:37:59.574-07:00Yup, that works and is nicer. Thanks for the tip :...Yup, that works and is nicer. Thanks for the tip :)Anonymoushttps://www.blogger.com/profile/00135361916531185929noreply@blogger.comtag:blogger.com,1999:blog-581197352358126527.post-67606409832519281412012-09-18T07:56:27.083-07:002012-09-18T07:56:27.083-07:00Just a quick note :)
If you set the initial rotat...Just a quick note :)<br /><br />If you set the initial rotation before adding ground to the scene then you only need to set __dirtyRotation to true in the tilt function. Makes the code a little cleaner.Chandlerhttps://www.blogger.com/profile/08793311648233157816noreply@blogger.com