PV3d: Star Sky
[ 2009-08-16 09:55:47 | Author: liuhuan ]
star disperse algorithm:
star.x = Math.sin(radian) * radius;
star.y = Math.floor(Math.random() * diameter);
star.z = Math.cos(radian) * radius;
star.y = Math.floor(Math.random() * diameter);
star.z = Math.cos(radian) * radius;

There is no comment on this article.
You can't post comment on this article.