public static Vector4f fromIntRGBA ( int r , int g , int b , int a ) { return new Vector4f ( ( r & 0xff ) / 255f , ( g & 0xff ) / 255f , ( b & 0xff ) / 255f , ( a & 0xff ) / 255f ) ; }
Converts 4 byte color components to a normalized float color .