I'm getting that on the last line of this code:
auto wh = Vec2([loadSurf.w, loadSurf.h]);
wh /= 2;
auto x = wh.plus1Dim(pos[Z]);
this.bbox = Box3(pos - x, pos + x);Any ideas?
Enjoys Math via Digitalmars-d-learn Fri, 05 Feb 2016 20:45:49 -0800
I'm getting that on the last line of this code:
auto wh = Vec2([loadSurf.w, loadSurf.h]);
wh /= 2;
auto x = wh.plus1Dim(pos[Z]);
this.bbox = Box3(pos - x, pos + x);Any ideas?