e.normal to angle conversion
1 post • Page 1 of 1
e.normal to angle conversion
I think it's one of the simplest...
usage example
- Code: Select all
scene.my.n2a = (n) => {math.acos(n(0)) * (n(1) > 0 ? 1 : -1)}
usage example
- Code: Select all
angle = scene.my.n2a(e.normal)
Dream of Algodoo as game development engine...
-

Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 6 guests



