Hi, i had started to develop a set of utilities for M3G files.
I've found a couple of bug , where can i bugreport them ?
before the project go to a FLOSS place -
http://gna.org is my favorite
I use this place to log them :
_____________________________________________________________
// Fix m3gtoolkit-0.1
// -------------------------------------------------------------------------------------------------------
public Texture2D(Image2D image)
{
blending=FUNC_MODULATE; // <= fix here
// -------------------------------------------------------------------------------------------------------
protected Transformable()
{
orientation=new float[3]; // orientation axis is 3 != 4
// -------------------------------------------------------------------------------------------------------
public abstract class M3GObject
{
public static int byte EXTERNAL_REFERENCE = 0xFF; // byte=-1; !=255 ?128 ...
// byte type= (byte) is.readByte(); // orig // confusion on signed byte
int type= is.readByte(); //! Object type in int not byte
// -------------------------------------------------------------------------------------------------------
//file:M3GFile
private Vector buildReferenceTable()
{
// ...
+ ExternalReference[] refs = externalReferencesSection.getExternalReferences();
+ for (int i=0;i< externalReferencesSection.getExternalReferenceCount(); i++)
{
+ refs
.buildReferenceTable( table );
// ...
_____________________________________________________________