1
0
forked from 0ad/0ad

In theory, should make buildings point in the right direction.

This was SVN commit r9758.
This commit is contained in:
James Baillie 2011-07-04 17:40:13 +00:00
parent 528b833db0
commit 2763c7817d
2 changed files with 2 additions and 2 deletions

View File

@ -210,7 +210,7 @@ var BuildingConstructionPlan = Class({
// Randomise the angle a little, to look less artificial
//var angle = Math.PI + (Math.random()*2-1) * Math.PI/24;
var angle = Math.random()* 2 * Math.PI;
var angle = Math.PI + (Math.PI / 4);
return {
"x": x,

View File

@ -220,7 +220,7 @@ var BuildingConstructionPlanEcon = Class({
// Randomise the angle a little, to look less artificial
//var angle = Math.PI + (Math.random()*2-1) * Math.PI/24;
var angle = Math.random()* 2 * Math.PI;
var angle = Math.PI + (Math.PI / 4);
return {
"x": x,