Skip to content

Commit

Permalink
Added property mixins
Browse files Browse the repository at this point in the history
  • Loading branch information
al1-ce committed Dec 11, 2022
1 parent 6eefb37 commit 7ce0a41
Show file tree
Hide file tree
Showing 10 changed files with 394 additions and 220 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ Colors:
Misc:
options Returns options
```
* `sily.meta`: Swizzling used by `sily.vector` and `sily.color`
* `sily.property`: Template mixin to generate properties
* `sily.meta.swizzle`: Swizzling used by `sily.vector` and `sily.color`. `sily.meta` itself is empty
* `sily.math`: Misc math utils
* `sily.path`: Path manipulation
* `sily.file`: File manipulation
Expand Down
2 changes: 1 addition & 1 deletion core/sily/color.d
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import std.uni : toLower;
import std.traits: isNumeric;

import sily.vector;
import sily.meta;
import sily.meta.swizzle;
import sily.array;

/// GLSL style alias to Color
Expand Down
208 changes: 0 additions & 208 deletions core/sily/meta.d

This file was deleted.

1 change: 1 addition & 0 deletions core/sily/meta/package.d
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module sily.meta;
Loading

0 comments on commit 7ce0a41

Please sign in to comment.