dilevin / computer-graphics-meshes

Computer Graphics Assignment about Meshes
1 stars 5 forks source link

x,y,z to u,v for sphere #14

Closed abishek-sundar closed 4 years ago

abishek-sundar commented 5 years ago

Does anybody know what the notation ||x|| means here? I've tried absolute value, but anytime x is less than z, acos returns nan... image

itsvismay commented 5 years ago

Thats the norm of x. image

Justin-Yuan commented 4 years ago

using ||r|| might be more clear (where r is the radius)