[Verse-dev] Fragment id fields

Emil Brink verse-dev@blender.org
Mon, 3 May 2004 15:03:58 +0200 (MEST)


Eskil,

We discussed changing this:

	struct {
		uint8 type;
		VNMFragmentID mapping;
	} noise;

(an excerpt from the VMatFrag type) into this:

        struct {
                VNMNoiseType type;
                VNMFragmentID mapping;
        } noise;

since the enum exists for that very purpose. I know it currently
requires a temporary in the unpacking, but... Who cares? :)

Also, the type itself should be named VNMatFrag, or perhaps even
better VNMFragment, the current name is irregular. Another miss in my
sweep last week. :/

/Emil