Entries from 2010-06-18 to 1 day
例えば球の頂点データを作るのにたったこれだけっていうのは、やっぱり短いし楽だと思う。 (defun circle-xy(index step) (let ((radian (/ (* 2 pi index) (- step 1)))) (list (sin radian) (cos radian)))) (defun sphere-xyz(circle-xy index step) (let…
例えば球の頂点データを作るのにたったこれだけっていうのは、やっぱり短いし楽だと思う。 (defun circle-xy(index step) (let ((radian (/ (* 2 pi index) (- step 1)))) (list (sin radian) (cos radian)))) (defun sphere-xyz(circle-xy index step) (let…