nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
readme: add information section
[nit.git]
/
lib
/
noise.nit
diff --git
a/lib/noise.nit
b/lib/noise.nit
index
1a0d7ce
..
ba09bc1
100644
(file)
--- a/
lib/noise.nit
+++ b/
lib/noise.nit
@@
-12,7
+12,7
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-# Provides the noise generators `PerlinNoise` and `InterpolatedNoise`
+# Noise generators `PerlinNoise` and `InterpolatedNoise`
module noise is serialize
import serialization
module noise is serialize
import serialization
@@
-356,6
+356,6
@@
redef universal Int
# The missing 2 bits are used to tag integers by the Nit system.
private fun mask: Int
do
# The missing 2 bits are used to tag integers by the Nit system.
private fun mask: Int
do
- return bin_and(0x3FFF_FFFF)
+ return self & 0x3FFF_FFFF
end
end
end
end