mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Generics with <>. Deprecation of {} generics.
This commit is contained in:
@@ -28,7 +28,7 @@ alias MATRIX4F_IDENTITY @builtin = matrix::IDENTITY4 {float};
|
||||
|
||||
@require Real.kindof == FLOAT : "A matrix must use a floating type"
|
||||
*>
|
||||
module std::math::matrix {Real};
|
||||
module std::math::matrix <Real>;
|
||||
import std::math::vector;
|
||||
|
||||
struct Matrix2x2
|
||||
|
||||
Reference in New Issue
Block a user