Xref: utzoo comp.sys.sgi:8488 comp.graphics:16196 Path: utzoo!attcan!uunet!spool.mu.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!news.funet.fi!korppi!jk87377 From: jk87377@korppi.tut.fi (Kouhia Juhana Krister) Newsgroups: comp.sys.sgi,comp.graphics Subject: Re: Meta-Ball Rendering anyone? Message-ID: <1991Feb7.111145.20678@funet.fi> Date: 7 Feb 91 11:11:45 GMT References: <84263@sgi.sgi.com> Sender: news@funet.fi (#Kotilo NEWS system ) Organization: Tampere University of Technology Lines: 39 Nntp-Posting-Host: tut.fi In article <84263@sgi.sgi.com> paul@manray.asd.sgi.com (Paul Haeberli) writes: > * anyone know how to make this program stop core dumping? > float sx, sy, op; [deleted] > for(i=y_b; i sy = 200-i; I'm not sure, but I would like to write sy = 200.0-(float)i; instead of what you have. > printf("line %d\n",i); > for(j=x_b; j sx = 320-j; The same. >trace() >{ I haven't been in C-language courses yet, so, this is a wild guess: Need you declare the type of the trace()? Have you an ANSI-C there? If the compiler assume that trace() is int-type, that's ok. But remember, C-language is for human - Fortran is what it is... I would like to write 'int trace()'. > if(tt<0) tt<0.0 I'm sorry about deleting all other code and not telling where all 'errors' are. Thank you for posting the code! Juhana Kouhia jk87377@tut.fi Brought to you by Super Global Mega Corp .com