paint-volumes: remove alignment constraint for completion
authorRobert Bragg <robert@linux.intel.com>
Thu, 16 Jun 2011 11:19:49 +0000 (12:19 +0100)
committerRobert Bragg <robert@linux.intel.com>
Thu, 16 Jun 2011 11:39:51 +0000 (12:39 +0100)
commita9789616b9705e7c24b5591a1790dfc2fdda51dc
treead88d4a584b44ebae38368ac9092d145d3d91580
parent34600949edbb650e810fbb98fe96c7858211b244
paint-volumes: remove alignment constraint for completion

This removes the constraint that a paint-volume must be axis aligned
before _clutter_paint_volume_complete can be called. NB: A paint volume
is represented by one origin vertex and then three axis vertices to
define the width, height and depth of the volume. It's straightforward
to use the vectors from the origin to the axis vertices to deduce the
other 4 vertices so we can remove the is_axis_aligned assertion.
clutter/clutter-paint-volume.c