Skip to content

Commit 0afc64d

Browse files
committed
initial commit
0 parents  commit 0afc64d

File tree

5 files changed

+73
-0
lines changed

5 files changed

+73
-0
lines changed

.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
*~
2+
.*~
3+
\#*\#
4+
.\#*\#
5+
6+
.DS_Store
7+
.project
8+
.settings

AUTHORS

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Lua-Perlin authors
2+
------------------
3+
4+
Implementation is based on Ken Perlin's own Java reference code:
5+
6+
http://mrl.nyu.edu/~perlin/noise/
7+
8+
This specific Lua C module was coded by:
9+
10+
"Alexander Gladysh" <[email protected]>

COPYRIGHT

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
Lua-Perlin License
2+
------------------
3+
4+
Lua-Perlin is licensed under the terms of the MIT license reproduced below.
5+
This means that luabins is free software and can be used for both academic
6+
and commercial purposes at absolutely no cost.
7+
8+
===============================================================================
9+
10+
Copyright (C) 2009 Lua-Perlin authors
11+
12+
Permission is hereby granted, free of charge, to any person obtaining a copy
13+
of this software and associated documentation files (the "Software"), to deal
14+
in the Software without restriction, including without limitation the rights
15+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
16+
copies of the Software, and to permit persons to whom the Software is
17+
furnished to do so, subject to the following conditions:
18+
19+
The above copyright notice and this permission notice shall be included in
20+
all copies or substantial portions of the Software.
21+
22+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
28+
THE SOFTWARE.
29+
30+
===============================================================================
31+
32+
(end of COPYRIGHT)

README

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Lua-Perlin -- Perlin noise module for Lua
2+
=========================================
3+
4+
This library is still in its embryonic phase.
5+
An appropriate description would be added later.
6+
7+
See the copyright information in the file named `COPYRIGHT`.

etc/git/hooks/pre-commit

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
3+
if git-rev-parse --verify HEAD 2>/dev/null
4+
then
5+
against=HEAD
6+
else
7+
# Initial commit: diff against an empty tree object
8+
against=4b825dc642cb6eb9a060e54bf8d69288fbee4904
9+
fi
10+
11+
git diff-index --check --cached $against -- || exit 1
12+
13+
# check lua syntax
14+
for i in `git diff-index --cached HEAD | egrep "\\.lua$" | cut -d " " -f 4`; do
15+
git show $i | luac -p - || exit 1
16+
done

0 commit comments

Comments
 (0)