THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/03/2005 at 01:29, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9.1
Platform:
Language(s) : C.O.F.F.E.E ;
---------
have a little problem... i have make this simple program with coffee where i count the point of one polygon that have a x coord equal to zero:
var cnt=op->GetPointCount();
var p=op->GetPoints();
var i=0;
var b=0;
if (!cnt) return TRUE; // no points, nothing to do
for (i=0; i<cnt; i++)
{
if (p _.x==0) b++;
}
println (p _); //See the point coordinate into console
}
println (b);
Why b contains ZERO?!?!?
Is right that the value of array p _can i identify with
p _.x , p _.y , p _.z ?
Tnx for the answer !