aboutsummaryrefslogtreecommitdiff
path: root/core/math
diff options
context:
space:
mode:
authorKarl Zylinski <karl@zylinski.se>2024-09-14 18:27:49 +0200
committerKarl Zylinski <karl@zylinski.se>2024-09-14 18:27:49 +0200
commit19f0127e553940bb333f61ab7e8dab6f7455115e (patch)
tree30705898942106f3341d1decec4d335ac15b28cd /core/math
parentb12d3124085058bc36f2e8feb5666a0c1f162343 (diff)
Moved all packages in core, base, vendor, tests and examples to use new #+ file tag syntax.
Diffstat (limited to 'core/math')
-rw-r--r--core/math/big/tune.odin2
-rw-r--r--core/math/math_basic.odin2
-rw-r--r--core/math/math_basic_js.odin2
-rw-r--r--core/math/noise/internal.odin2
4 files changed, 4 insertions, 4 deletions
diff --git a/core/math/big/tune.odin b/core/math/big/tune.odin
index 5938dafde..eab36b951 100644
--- a/core/math/big/tune.odin
+++ b/core/math/big/tune.odin
@@ -7,7 +7,7 @@
The code started out as an idiomatic source port of libTomMath, which is in the public domain, with thanks.
*/
-//+build ignore
+#+build ignore
package math_big
import "core:time"
diff --git a/core/math/math_basic.odin b/core/math/math_basic.odin
index 041efd272..2584df71f 100644
--- a/core/math/math_basic.odin
+++ b/core/math/math_basic.odin
@@ -1,4 +1,4 @@
-//+build !js
+#+build !js
package math
import "base:intrinsics"
diff --git a/core/math/math_basic_js.odin b/core/math/math_basic_js.odin
index 5b9adabcd..2604ebc8b 100644
--- a/core/math/math_basic_js.odin
+++ b/core/math/math_basic_js.odin
@@ -1,4 +1,4 @@
-//+build js
+#+build js
package math
import "base:intrinsics"
diff --git a/core/math/noise/internal.odin b/core/math/noise/internal.odin
index bd97bd45c..f75c0ee87 100644
--- a/core/math/noise/internal.odin
+++ b/core/math/noise/internal.odin
@@ -4,7 +4,7 @@
Ported from https://github.com/KdotJPG/OpenSimplex2.
Copyright 2022 Yuki2 (https://github.com/NoahR02)
*/
-//+private
+#+private
package math_noise
/*