This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Deployment script for Laravel applications with docker-compose. | |
* | |
* Features: | |
* * Zero-downtime deployment with jwilder/nginx-proxy | |
* * Independent several instances of the same project on one host | |
* * Configurable shared .env file | |
* * Ready for CI / CD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var assignUVs = function( geometry ){ | |
var tileUsize = 0.25; | |
var tileVsize = 0.333; | |
/* | |
* lookup-tables for tiles: the number - is offset in size of the tile. | |
* ..., 1, 2, ... means new THREE.Vector2(tileUsize, 2 * tileVsize) | |
* | |
* Each tile in atlas is | |
* (x3, y3) -- (x2, y2) |