[CpmlArc] Corrected bugs on vector length
commitd3c8574babd20e69824c41697b2987bf8e263c6e
authorNicola Fontana <ntd@entidi.it>
Fri, 25 Sep 2009 09:46:02 +0000 (25 11:46 +0200)
committerNicola Fontana <ntd@entidi.it>
Fri, 25 Sep 2009 09:46:02 +0000 (25 11:46 +0200)
treec21d65c502de1548ee22224f8d7052b56ab57df3
parent63c1abee2f03a989f788f4211e3779f1553875b3
[CpmlArc] Corrected bugs on vector length

The old implementation was relying on the fact that
cpml_vector_from_angle() was properly setting the length. This was not
the case but the bugs were never exposed due to the lack of test cases.
cpml/cpml-arc.c