mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Change syntax of $if, $assert, $include, $echo. Introduces $error
This commit is contained in:
@@ -217,7 +217,7 @@ return v;
|
||||
var view_proj = m1.mul(m2);
|
||||
var invert = view_proj.invert();
|
||||
// Create quaternion from source point
|
||||
$if ($typeof(v[0]).typeid == float.typeid)
|
||||
$if $typeof(v[0]).typeid == float.typeid:
|
||||
Quaternionf quat = { v.x, v.y, v.z, 1 };
|
||||
$else
|
||||
Quaternion quat = { v.x, v.y, v.z, 1 };
|
||||
|
||||
Reference in New Issue
Block a user