This commit is contained in:
Joseph Redmon
2015-09-21 17:30:32 -07:00
parent c53e03348c
commit fed6d6e31d
11 changed files with 131 additions and 104 deletions

View File

@ -2,6 +2,16 @@
#include <stdio.h>
#include <math.h>
box float_to_box(float *f)
{
box b;
b.x = f[0];
b.y = f[1];
b.w = f[2];
b.h = f[3];
return b;
}
dbox derivative(box a, box b)
{
dbox d;