Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

Commit

Permalink
refac
Browse files Browse the repository at this point in the history
  • Loading branch information
celian committed Apr 15, 2014
1 parent f017b55 commit 1313168
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Rando/Rando.Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -761,8 +761,6 @@ RANDO.Utils.drapePoint = function(point, dem){
* - dx : x coefficient
* - dy : y coefficient (altitudes in BABYLON)
* - dz : z coefficient (depth in BABYLON)
*
* return the DEM translated
*/
RANDO.Utils.translateDEM = function(dem, dx, dy, dz){
for (row in dem.altitudes){
Expand Down Expand Up @@ -797,16 +795,13 @@ RANDO.Utils.translateDEM = function(dem, dx, dy, dz){
* - dx : x coefficient
* - dy : y coefficient (altitudes in BABYLON)
* - dz : z coefficient (depth in BABYLON)
*
* return the Trek translated
*/
RANDO.Utils.translateTrek = function(vertices, dx, dy, dz){
for (it in vertices){
vertices[it].x += dx;
vertices[it].y += dy;
vertices[it].z += dz;
}

}


Expand Down

0 comments on commit 1313168

Please sign in to comment.