X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=blobdiff_plain;f=extra%2Fgpu%2Fdemos%2Fbunny%2Fbunny.factor;fp=extra%2Fgpu%2Fdemos%2Fbunny%2Fbunny.factor;h=97bde0ad8739c1d5381a29a96d375d14619b1a28;hp=dc412f13701afb74cbec6b694bdf96af55e62fd4;hb=e20bf9b97fe60ebe18b8972b2b56fe681fce64a8;hpb=db559f6f98522594be8ef9a9392fb6d95fab3abe diff --git a/extra/gpu/demos/bunny/bunny.factor b/extra/gpu/demos/bunny/bunny.factor index dc412f1370..97bde0ad87 100644 --- a/extra/gpu/demos/bunny/bunny.factor +++ b/extra/gpu/demos/bunny/bunny.factor @@ -3,11 +3,11 @@ USING: accessors alien.c-types arrays classes.struct combinators combinators.short-circuit game.loop game.worlds gpu gpu.buffers gpu.framebuffers gpu.render gpu.shaders gpu.state gpu.textures -gpu.util gpu.util.wasd grouping http.client images images.loader -io io.encodings.ascii io.files io.files.temp kernel literals -math.parser math.vectors math.vectors.simd method-chains -namespaces sequences specialized-arrays specialized-vectors -threads ui.gadgets.worlds ui.pixel-formats ; +gpu.util gpu.util.wasd grouping http.client http.download images +images.loader io io.encodings.ascii io.files io.files.temp +kernel literals math.parser math.vectors math.vectors.simd +method-chains namespaces sequences specialized-arrays +specialized-vectors threads ui.gadgets.worlds ui.pixel-formats ; FROM: alien.c-types => float ; SPECIALIZED-ARRAY: float SPECIALIZED-VECTOR: uint @@ -149,7 +149,7 @@ CONSTANT: bunny-model-url "https://downloads.factorcode.org/misc/bun_zipper.ply" : download-bunny ( -- path ) - bunny-model-url bunny-model-path [ ?download-to ] keep ; + bunny-model-url bunny-model-path download-to ; : get-bunny-data ( bunny-state -- ) download-bunny bunny-data