[CpmlPrimitive] Added max arg to cpml_primitive_intersection()
commit357e69539966129f5b8535003568c93dfeeeee82
authorNicola Fontana <ntd@entidi.it>
Thu, 2 Jul 2009 18:56:57 +0000 (2 20:56 +0200)
committerNicola Fontana <ntd@entidi.it>
Thu, 2 Jul 2009 18:56:57 +0000 (2 20:56 +0200)
treef79b1abfb8d0d886afaa765fb32e3a886d175427
parentad1b0efb13d6655b5e631d288fb7a3c0f387c82e
[CpmlPrimitive] Added max arg to cpml_primitive_intersection()

Instead of always return all the intersection points, let the
application chooses how many intersections they expect. Being
the application itsself to give the buffer where to store the
points, this seems a logical choice.
cpml/cpml-primitive.c
cpml/cpml-primitive.h