Show
Ignore:
Timestamp:
10/20/07 18:18:45 (13 months ago)
Author:
krobillard
Message:

Macros are now created with caret followed by paren: (...)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/thune/gl/scripts/view.t

    r468 r491  
    11; Thune GL View 
    22 
    3 <"scripts/stars.t" load do> 
     3^("scripts/stars.t" load do) 
    44 
    55;"scripts/timer_bar.t" load do 
     
    3333        particle 
    3434        shader star-sh 
    35         call <400 make-stars> 
     35        call ^(400 make-stars) 
    3636 
    3737        particle/sprite 
    3838        shader bstar-sh 
    39         call <10 make-stars> 
     39        call ^(10 make-stars) 
    4040    pop 
    4141    ;particle/off 
     
    128128    [ 
    129129        model 
    130         shader ent-shader   ; FIXME: Causes text not to render. 
     130        shader ent-shader 
    131131        call ent-dl 
    132132 
     
    256256        dup :mouse-pos 
    257257        mouse-pos/5 [ 
    258             <mouse-lb> [mouse-pos/3 mouse-pos/4 view-cam/turntable] 
    259             <mouse-mb> [light-amb mouse-pos/4 0.02 mul add :light-amb] 
    260             <mouse-rb> [mouse-pos/3 mouse-pos/4 move-light] 
     258            ^(mouse-lb) [mouse-pos/3 mouse-pos/4 view-cam/turntable] 
     259            ^(mouse-mb) [light-amb mouse-pos/4 0.02 mul add :light-amb] 
     260            ^(mouse-rb) [mouse-pos/3 mouse-pos/4 move-light] 
    261261        ] case 
     262        ; KR "------------" print .s 
    262263    ] 
    263264 
     
    301302        text text-pos "Model Demo 1" 
    302303        ;enable/? 
    303         image/trans logo-pos <"image/warpfleetc.png" load.tex.clamp> 
     304        image/trans logo-pos ^("image/warpfleetc.png" load.tex.clamp) 
    304305 
    305306        ;shader matte