When defining nebRec as:
Rectangle nebRec{0.0, 0.0, nebula.width/8, nebula.height/8};
I get the error - non-constant-expression cannot be narrowed from type ‘int’ to ‘float’ in initializer list [-Wc++11-narrowing]
If I define nebRec the same way scarfyRed is defined it works fine.
Why is this?