Check my maths
AGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!
Im an IDIOT. Kill me now
float h1=V3GetBezierDepthFromPoint(UXO,UYO);
float h2=V3GetBezierDepthFromPoint(UXO+I,UYO);
float h3=V3GetBezierDepthFromPoint(UXO,UYO+I);
float h4=V3GetBezierDepthFromPoint(UXO+1,UYO+1);<<DOH!
After 15 years experiance how can i make such a silly mistake as to confuse I and 1
A simple interpolate:
float h5=Interpolate(h1,h2,clx);
float h6=Interpolate(h3,h4,clx);
return Interpolate(h5,h6,cly);
Now does the job.
Thanks for all your help and patients guys!!
Next stop... Water!
Hey, where are you all going??
:P
Im an IDIOT. Kill me now
float h1=V3GetBezierDepthFromPoint(UXO,UYO);
float h2=V3GetBezierDepthFromPoint(UXO+I,UYO);
float h3=V3GetBezierDepthFromPoint(UXO,UYO+I);
float h4=V3GetBezierDepthFromPoint(UXO+1,UYO+1);<<DOH!
After 15 years experiance how can i make such a silly mistake as to confuse I and 1
A simple interpolate:
float h5=Interpolate(h1,h2,clx);
float h6=Interpolate(h3,h4,clx);
return Interpolate(h5,h6,cly);
Now does the job.
Thanks for all your help and patients guys!!
Next stop... Water!
Hey, where are you all going??
:P
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement