give credit to Jake Gordon and Jim Scott
This commit is contained in:
parent
3056922294
commit
62a9b28e4c
2 changed files with 12 additions and 0 deletions
|
@ -17,6 +17,12 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with Sisyphus. If not, see <http://www.gnu.org/licenses/>.
|
# along with Sisyphus. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# inspired by Jake Gordon's bin-packing algorithm
|
||||||
|
# https://github.com/jakesgordon/bin-packing/blob/master/js/packer.js
|
||||||
|
# http://codeincomplete.com/posts/2011/5/7/bin_packing/
|
||||||
|
# Jake Gordon was inspired by Jim Scott's solution on how to pack lightmaps
|
||||||
|
# http://www.blackpawn.com/texts/lightmaps/default.html
|
||||||
|
|
||||||
import random
|
import random
|
||||||
|
|
||||||
# rounds to the next biggest even number
|
# rounds to the next biggest even number
|
||||||
|
|
|
@ -17,6 +17,12 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with Sisyphus. If not, see <http://www.gnu.org/licenses/>.
|
# along with Sisyphus. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# inspired by Jake Gordon's bin-packing algorithm
|
||||||
|
# https://github.com/jakesgordon/bin-packing/blob/master/js/packer.js
|
||||||
|
# http://codeincomplete.com/posts/2011/5/7/bin_packing/
|
||||||
|
# Jake Gordon was inspired by Jim Scott's solution on how to pack lightmaps
|
||||||
|
# http://www.blackpawn.com/texts/lightmaps/default.html
|
||||||
|
|
||||||
import svg
|
import svg
|
||||||
import random
|
import random
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue