fix clang warnings / duplicate code

warning: in-class initializer for static data member of type 'const float' is a GNU extension