-
Notifications
You must be signed in to change notification settings - Fork 427
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
--Configuration support for Magnum Vector2, Vector4, Color3 and Color…
…4, UserDefinedAttr support of str Lists (#2028) * --minor attributes files fixes and comment updates. * --streamline Magnum struct JSON read/write * --streamline IOTest and improve test output. * --add support for 4-value object being a color, a quaternion, or a vector4. Note, to properly read from JSON into a color4 or a quaternion, the keyed-ConfigValue needs to be initialized on construction as the appropriate type * --add Vector4 json, move implementations to cpp * --Minor cleanup * --slight cleanup for attributes docs * --expand type inference --Type of field is either determined by pre-existing field's type or by tag substrings in the label. Otherwise, defaults to Mn::Vector4. * --add support for 3 element Mn::Color3 --Folows the same precedent as Mn::Color4 - type of field will be specified by substrings "clr" or "color" in the label, name-insensitive. * --test all the things * --remove superfluous color3 and color4 functions The magnum vector3 and vector4 types can be queried as colors * --...but we can access vec3 and vec4 as colors --Added the ability to access vector config fields as colors, to expose special color functionality. * --update git-ignore for qa-scenes * --add Mn::Vector2 support and tests; python tests * --minor docs * --use appropriate key allocator to write configs to JSON * --clean up and expand docs a bit * --add support for user-defined attributes list of strings * --Add missing linebreak
- Loading branch information
Showing
17 changed files
with
610 additions
and
287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.