mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Implement more @export / @private improvements. Make @private default… (#729)
This commit is contained in:
committed by
GitHub
parent
3b49b87784
commit
5e457be605
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user