From 6920f52d28b42e3209474c69dcfa76f663de4a61 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 4 Feb 2012 23:18:13 +0000 Subject: use [declare -lib] to load required libs svn path=/trunk/externals/boids/; revision=15946 --- boids2d-help.pd | 9 +++++---- boids3d-help.pd | 9 ++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/boids2d-help.pd b/boids2d-help.pd index 4f651bf..16fc111 100644 --- a/boids2d-help.pd +++ b/boids2d-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 31 975 643 10; +#N canvas 38 48 980 705 10; +#X declare -lib cyclone -lib Gem; #X msg -99 601 dump; #X msg 266 113 neighbors \$1; #X floatatom 266 98 5 0 4 0 - neighbors -; @@ -72,8 +73,7 @@ for each boid \, the number and type depending on the mode.; Use the 'dump' message to output a list of the current parameter settings. ; #X text -190 328 For more information about the Boids algorithm \, -see Craig Reynolds' Web site at http://www.red3d.com/cwr/boids/ -; +see Craig Reynolds' Web site at http://www.red3d.com/cwr/boids/; #X text -188 64 arguments: number of boids \, output mode; #X obj -72 460 print dump; @@ -82,7 +82,7 @@ mode; #X obj -151 410 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #N canvas 430 22 471 383 gem_example 0; -#X msg 33 31 destroy; +#X msg 33 31 create; #N canvas 494 140 629 324 gemwin 0; #X obj 219 190 gemwin; #X obj 66 194 outlet; @@ -683,6 +683,7 @@ prefdist flyrect attractpt; #X text 12 125 OUTLET_1 list; #X text 12 25 LICENSE GPL v2; #X restore 720 676 pd META; +#X obj 602 23 declare -lib cyclone Gem; #X connect 0 0 48 0; #X connect 1 0 47 0; #X connect 2 0 1 0; diff --git a/boids3d-help.pd b/boids3d-help.pd index d2c425b..5c5adf0 100644 --- a/boids3d-help.pd +++ b/boids3d-help.pd @@ -1,5 +1,5 @@ -#N canvas 0 31 963 634 10; -#X declare -lib jasch_lib; +#N canvas 61 69 970 701 10; +#X declare -lib cyclone -lib Gem; #X msg -99 601 dump; #X msg 266 113 neighbors \$1; #X floatatom 266 98 5 0 4 0 - neighbors -; @@ -69,8 +69,7 @@ the herding dinosaurs.; Use the 'dump' message to output a list of the current parameter settings. ; #X text -190 328 For more information about the Boids algorithm \, -see Craig Reynolds' Web site at http://www.red3d.com/cwr/boids/ -; +see Craig Reynolds' Web site at http://www.red3d.com/cwr/boids/; #X text -188 64 arguments: number of boids \, output mode; #X obj -72 460 print dump; @@ -2045,11 +2044,11 @@ prefdist flyrect attractpt; #X text 12 25 LICENSE GPL v2; #X restore 710 674 pd META; #X obj -151 438 boids3d 16 0; -#X obj 604 10 import jasch_lib; #X text -191 208 Boids takes an integer argument which is the number of boids. Each time Boids receives a bang \, it calculates and outputs the new positions of the boids. The output consists of the coordinates for each boid \, the number and type depending on the mode.; +#X obj 604 10 declare -lib cyclone Gem; #X connect 0 0 48 0; #X connect 1 0 47 0; #X connect 2 0 1 0; -- cgit v1.2.1