FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Bug Fixes, Implemented Suggestions
(Moderator: fry)
   curvePoint needs initialising?
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: curvePoint needs initialising?  (Read 608 times)
ed

WWW Email
curvePoint needs initialising?
« on: Oct 5th, 2003, 9:57pm »

I wasn't sure if the new curvePoint(a,b,c,d,t) was supposed to be usuable already, but if it is I think I've run into a problem with it. As far as I can tell it goes horribly wrong unless there's been a preceeding call to curve.  
Code:

curve(10, 20, 30, 40, 50, 60, 70, 80);
println(curvePoint(1,2,3,4,0.5));

...works fine, but...
Code:

//curve(10, 20, 30, 40, 50, 60, 70, 80);
println(curvePoint(1,2,3,4,0.5));

...seems to lock the editor, requiring a forced quit. In the program I'm working on rather than lock the editor it throws a NullPointerException inside curvePoint. My own silly fault or a bonafide bug?
 
oop, and incase it's important that's rev 65 running on windows 98
« Last Edit: Oct 5th, 2003, 10:01pm by ed »  
fry


WWW
Re: curvePoint needs initialising?
« Reply #1 on: Oct 6th, 2003, 1:39am »

hm, that looks like a one line problem with a lack of init, as you say. i'll take care of that for 66.
 
fry


WWW
Re: curvePoint needs initialising?
« Reply #2 on: Oct 18th, 2003, 7:54pm »

k, i've fixed that for 66, as well as the problem that makes everything lock up completely with such a bug.
 
Pages: 1 

« Previous topic | Next topic »