Add description to bounding box

This commit is contained in:
Mario Hüttel 2018-12-10 21:28:43 +01:00
parent 3c1f4f9c97
commit 179dfa0724
1 changed files with 6 additions and 5 deletions

View File

@ -34,11 +34,12 @@
#include "vector-operations.h" #include "vector-operations.h"
union bounding_box { union bounding_box {
struct _vectors { /** Coordinate System is (y up | x right)^ */
struct vector_2d lower_left; struct _vectors {
struct vector_2d upper_right; struct vector_2d lower_left;
} vectors; struct vector_2d upper_right;
struct vector_2d vector_array[2]; } vectors;
struct vector_2d vector_array[2];
}; };
typedef void (*conv_generic_to_vector_2d_t)(void *, struct vector_2d *); typedef void (*conv_generic_to_vector_2d_t)(void *, struct vector_2d *);