d13 Posted May 4, 2017 Share Posted May 4, 2017 Hi Everyone! I'm running some tests to covert 3d points to 2d. This cited example, which previous posts suggests did work at some point, is turning up NAN for the x/y values. http://www.babylonjs-playground.com/#UWSIL#60 Can anyone point me to changes in the API that might need to be implemented (I'm currently using 2.5)? Thanks! Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 4, 2017 Share Posted May 4, 2017 Hey, can you provide an example of what you want to do? I do not get your goal Quote Link to comment Share on other sites More sharing options...
sable Posted May 4, 2017 Share Posted May 4, 2017 The signature for toGlobal has changed, it needs to be passed the render width and height now. http://www.babylonjs-playground.com/#UWSIL#61 Quote Link to comment Share on other sites More sharing options...
d13 Posted May 6, 2017 Author Share Posted May 6, 2017 On May 4, 2017 at 7:42 PM, sable said: The signature for toGlobal has changed, it needs to be passed the render width and height now. http://www.babylonjs-playground.com/#UWSIL#61 Thanks so much, that's perfect!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.