ScratchData LogoScratchData
Back to _youtubeN1's profile

Back-face culling direction 2D

_Y_youtubeN1•Created May 8, 2015
Back-face culling direction 2D
3
2
53 views
View on Scratch

Instructions

Move your mouse left and right.

Description

For back-face culling, what I plan to do is calculate the direction of a 3D surface. So I've done a distance formula, using acos(). I prefer it over atan(), because I like the direction value to always be positive.

Project Details

Project ID61083386
CreatedMay 8, 2015
Last ModifiedMay 8, 2015
SharedMay 8, 2015
Visibilityvisible
CommentsAllowed