$B7W;;5!=xO@#2!Z2]Bj#C![4v2?JQ49(B

$B7W;;5!=xO@#2(B(2007) 2007/11/12a
2007/10/16a: $B!:@ZF|$*$h$SO@=R2]Bj$O 2007/10/22b: $B8x3+!J!:@ZF|$OL$@_Dj!K(B
2007/10/29a: $B8m?"D{@5!'(B(-1/2,-1.732/2) $B"M(B (-1/2,0,-1.732/2) 2007/10/22b: $B!:@ZF|@_Dj(B

$B2]Bj(BC

$B!:@ZF|(B2007/11/19, 13:45(JST)
$BDs=P@h(BWebCT
$BDs=PFbMF(B$B2<5-$N(BC-1$B!A(BC-5$B$NA42]Bj(B($BM>M5$N$"$k

-----------
$B2]Bj(BC-1($BI,=$(B)

$BL\I8!'4v2?JQ49(B($B0\F0!&2sE>(B)$B$K3:Ev$9$k%W%m%0%i%`$N6uGrItJ,$rKd$a$F!"

$B!Z2]BjMQ%U%!%$%k;qNA![(B$B$N$&$A!"(B st_animator-geom.c, st_animator-drawcore.c $B$K$D$$$F!"(B "[$B2]Bj(BC-geom]"$B$H$J$C$F$$$kItJ,$,=q$-49$($rI,MW$H$9$kItJ,$G$"$k!#(B

$B$J$*=q$-49$(;~$K2sE><4$KBP$9$k@5J}8~$K$OCm0U$rJ'$&$3$H!#(B

$B>e5-#2%U%!%$%k$r2~NI$7$?$"$H!"B>$N%*%V%8%'%/%H%U%!%$%k$HAH$_9g$o$;$F
fl_animator-global.o
07animator-047-div-data.o ($B0JA02~NI:Q$_(B)
07animator-047-div-script.o ($B0JA02~NI:Q$_(B)
fl_animator-geomextra.o
st_animator-geom.o ($B:#2s$N2]Bj(BC-1$B$G=q$-49$((B)
fl_animator-drawprimitive.o
fl_animator-drawextra.o
st_animator-drawcore.o ($B:#2s$N2]Bj(BC-1$B$G=q$-49$((B)
fl_animator-callback.o ($BA02s$N2]Bj(BB-23$B$G=q$-49$([email protected]$7$??M$O2~NI:Q$_$N(B st_animator-callback.o $B$G$b$h$$(B)
fl_animator-initgl.o
fl_animator-main.o ($BA02s$N2]Bj(BB-23$B$G=q$-49$([email protected]$7$??M$O2~NI:Q$_$N(B st_animator-main.o $B$G$b$h$$(B)

[$B%3%s%Q%$%kNc(B]
$ gcc -Wall -c st_animator-geom.c
$ gcc -Wall -c st_animator-drawcore.c
$ gcc -o 07animator-runC1 fl_animator-global.o 07animator-047-div-data.o 07animator-047-div-script.o fl_animator-geomextra.o st_animator-geom.o fl_animator-drawprimitive.o fl_animator-drawextra.o st_animator-drawcore.o fl_animator-callback.o fl_animator-initgl.o fl_animator-main.o -L/usr/X11R6/lib -lX11 -lXmu -lXi -lGL -lGLU -lglut -lm ($B2]Bj(BB-23$B$r9T$C$F$J$$>l9g(B)
$ gcc -o 07animator-runC1 fl_animator-global.o 07animator-047-div-data.o 07animator-047-div-script.o fl_animator-geomextra.o st_animator-geom.o fl_animator-drawprimitive.o fl_animator-drawextra.o st_animator-drawcore.o st_animator-callback.o fl_animator-initgl.o st_animator-main.o -L/usr/X11R6/lib -lX11 -lXmu -lXi -lGL -lGLU -lglut -lm ($B2]Bj(BB-23$B$r9T$C$F$$$?>l9g(B)

$BDs=PJ*!'(B
$BDs=P@h(B$B%U%!%$%kL>(B$BCm0UE@(B
C-1-1st_animator-geom.c C-1$B$NJQ99$r9T$C$?$b$N(B
C-1-2st_animator-drawcore.c C-1$B$NJQ99$r9T$C$?$b$N(B
C-1-307animator-runC1 $B@8@.$7$?

-----------
$B2]Bj(BC-2($BI,=$(B)

$BL\I8!'9TNs1i;;$K$h$k:BI87OJQ49$rM}2r$9$k!#(B

$B!c@bL@#1!d(B
$BJ*BN$K8GM-$NJ*BN:BI87O$G(B $BE@(BA_obj (1,0,0)$B$+$iE@(BB_obj (2,0,0)$B$X8~$+$&J}8~%Y%/%H%k(BV_obj$B$r9M$($k!#(B $B$3$NJ*BN(B($B$N:BI87O(B)$B$r@$3&:BI87O$N86E@$K%;%C%H$7$?$"$H!"(B X$B<4$K1h$C$F(B4$B?J$a!"(B $B$=$N$"$HJ*BN$r$=$N>l$G(B($B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$?>l9g$N$=$l$>$l$K$D$$$F@bL@$9$k$3$H!#(B

    $BDs=PJ*!'(B
    $BDs=P@h(B$B%U%!%$%kL>(B$BCm0UE@(B
    C-3-1report-c-3-1.pdf$B%9%/%j%W%H$G(BA$B9T$,Mh$?>l9g!"(BA$B9T$N$"$H$K(BC$B9T$,Mh$?>l9g!"(BC$B9T$N$"$H$K(BC$B9T$,Mh$?>l9g$N$=$l$>$l$K$D$$$F@bL@$9$k$3$H!#(B

    -----------
    $B2]Bj(BC-4($BI,=$(B)

    $BL\I8!'IA2hItJ,$N%W%m%0%i%`9=@.$rGD0.$9$k!#(B

    st_animator-geom.c, st_animator-drawprimitive.c, st_animator-drawcore.c $B$N(B $B3F4X?t$K$D$$$F@bL@$r$7!"8F$S=P$74X78$r@0M}$7$F?^<($;$h!#(B

    $BDs=PJ*!'(B
    $BDs=P@h(B$B%U%!%$%kL>(B$BCm0UE@(B
    C-4-1report-c-4-1.pdf$B?^$N:n@.$K$D$$$F$O!"(B($B9V5A;qNA(B2007-IC2_Lec04k-printable.pdf)$B$N#7KgL\CfCJ1&$N%9%i%$%I$N$h$&$K9=@.$9$k$3$H!JJ#?tKg$KJ,$1$F$h$$!K!#(B

    -----------
    $B2]Bj(BC-5($BI,=$(B)

    $BL\I8!'9TNs1i;;$N

    ic2_multmatmat()$B$N;EAH$_$r@bL@$7$J$5$$!#(B
    $BFC$K!"9TNs$NMWAG$NJB$S$H!">h;;;~$NMWAG$,$I$N$h$&$K;2>H$5$l$F$$$k$+$r@bL@$9$k$3$H!#(B
    $B$^$?!"K\4X?t$NMxMQ$K$*$$$F!"(Bic2_multmatmat(b, a, b)$B$N$h$&$J8F$S=P$7$,2DG=$G$"$kM}M3$b@bL@$7$J$5$$!#(B

    $BDs=PJ*!'(B
    $BDs=P@h(B$B%U%!%$%kL>(B$BCm0UE@(B
    C-5-1report-c-5-1.pdf$B%W%m%0%i%`%3!<%I$H9g$o$;$F@bL@$9$k$3$H!#(B

    ===========
    $B2]Bj(BC-11($BH/E8(B)

    $BL\I8!'4v2?JQ49(B(lookat)$B$K3:Ev$9$k%W%m%0%i%`$N6uGrItJ,$rKd$a$F!"

    $B!Z2]BjMQ%U%!%$%k;qNA![(B$B$N$&$A!"(B st_animator-drawcore.c $B$K$D$$$F!"2]Bj(BC-1$B$K2C$($F!":#2s$O(B "[$B2]Bj(BC-ex-lookat]"$B$H$J$C$F$$$kItJ,$,=q$-49$($rI,MW$H$9$kItJ,$G$"$k!#(B

    st_animator-drawcore.c $B$r2~NI$7$?$"$H!"B>$N%*%V%8%'%/%H%U%!%$%k$HAH$_9g$o$;$F

    $BDs=PJ*!'(B
    $BDs=P@h(B$B%U%!%$%kL>(B$BCm0UE@(B
    C-11-1st_animator-drawcore.c C-11$B$NJQ99$r9T$C$?$b$N(B
    C-11-207animator-runC11 $B@8@.$7$?
    kameda[at]iit.tsukuba.ac.jp