mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
Fix in stdlib and update readme.
This commit is contained in:
@@ -138,9 +138,10 @@ fn void main()
|
||||
|
||||
### Current status
|
||||
|
||||
The current stable version of the compiler is **version 0.6.8**.
|
||||
The current stable version of the compiler is **version 0.7.0**.
|
||||
|
||||
The the next version is 0.7.0 which will be a breaking release.
|
||||
The upcoming 0.7.x releases will focus on expanding the standard library,
|
||||
fixing bugs and improving compile time analysis.
|
||||
Follow the issues [here](https://github.com/c3lang/c3c/issues).
|
||||
|
||||
If you have suggestions on how to improve the language, either [file an issue](https://github.com/c3lang/c3c/issues)
|
||||
|
||||
@@ -80,7 +80,7 @@ macro rotate(v, angle) @private
|
||||
{
|
||||
var c = math::cos(angle);
|
||||
var s = math::sin(angle);
|
||||
return $typeof(v) { v[0] * c - v[1] * s, v[0] * s + v[1] * c };
|
||||
return ($typeof(v)) { v[0] * c - v[1] * s, v[0] * s + v[1] * c };
|
||||
}
|
||||
|
||||
macro perpendicular3(v) @private
|
||||
@@ -111,7 +111,7 @@ macro cross3(v1, v2) @private
|
||||
|
||||
macro transform2(v, mat) @private
|
||||
{
|
||||
return $typeof(v) {
|
||||
return ($typeof(v)) {
|
||||
mat.m00 * v[0] + mat.m10 * v[1] + mat.m30 ,
|
||||
mat.m01 * v[0] + mat.m11 * v[1] + mat.m31 };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user