mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-28 18:30:06 +00:00
core: improve package doc comments for the documentation generator
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
/*
|
||||
OpenSimplex2 noise implementation.
|
||||
|
||||
Ported from https://github.com/KdotJPG/OpenSimplex2.
|
||||
Copyright 2022 Yuki2 (https://github.com/NoahR02)
|
||||
Ported from [[ https://github.com/KdotJPG/OpenSimplex2 }].
|
||||
Copyright 2022 Yuki2 [[ https://github.com/NoahR02 ]]
|
||||
*/
|
||||
package math_noise
|
||||
|
||||
@@ -177,4 +177,4 @@ noise_4d_fallback :: proc(seed: i64, coord: Vec4) -> (value: f32) {
|
||||
// Get points for A4 lattice
|
||||
skew := f64(SKEW_4D) * (coord.x + coord.y + coord.z + coord.w)
|
||||
return _internal_noise_4d_unskewed_base(seed, coord + skew)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user