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"
union bounding_box {
struct _vectors {
struct vector_2d lower_left;
struct vector_2d upper_right;
} vectors;
struct vector_2d vector_array[2];
/** Coordinate System is (y up | x right)^ */
struct _vectors {
struct vector_2d lower_left;
struct vector_2d upper_right;
} vectors;
struct vector_2d vector_array[2];
};
typedef void (*conv_generic_to_vector_2d_t)(void *, struct vector_2d *);