Better support for colors in dictionaries (closes #1489)

- Add a new Color3Verifier and Color4Verifier that checks components to be in [0,1]
 - Update codegen to add a new attribute [[codegen::color()]] to mark a vec3/vec4 to be a color value
 - Update RenderableTrail to use the new verion
This commit is contained in:
Alexander Bock
2021-02-12 12:59:00 +01:00
parent 11e5bc36ab
commit afd484044d
4 changed files with 179 additions and 154 deletions