Implement more @export / @private improvements. Make @private default… (#729)

This commit is contained in:
Christoffer Lerno
2023-02-13 08:31:40 +01:00
committed by GitHub
parent 3b49b87784
commit 5e457be605
88 changed files with 697 additions and 624 deletions

View File

@@ -196,6 +196,6 @@ fn float elastic_inout(float t, float b, float c, float d) @inline
: a * math::pow(2.0f, -10 * t) * math::sin((t * d - s) * (2 * (float)math::PI) / p) * 0.5f + c + b;
}
private macro sq(x) => x * x;
private macro cube(x) => x * x * x;
macro sq(x) @private => x * x;
macro cube(x) @private => x * x * x;