whitespace logo - i know i should stop commiting changes like this - waiting for admin ui to do this
This commit is contained in:
parent
e394e12c8c
commit
1e394ded75
BIN
img/whitespace-logo-square-transp-drop.png
Normal file
BIN
img/whitespace-logo-square-transp-drop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
|
@ -175,7 +175,7 @@ Node.prototype.draw = Node.prototype.normal.draw;
|
|||
jQuery.extend(NorbertNode.prototype, Node.prototype);
|
||||
function NorbertNode() {
|
||||
this.norbert = new Image();
|
||||
this.norbert.src = "img/norbert-8bit.png";
|
||||
this.norbert.src = "img/whitespace-logo-square-transp-drop.png";
|
||||
self = this;
|
||||
this.norbertLoaded = false;
|
||||
this.norbert.onload=function() { self.norbertLoaded = true; }
|
||||
|
@ -185,8 +185,8 @@ function NorbertNode() {
|
|||
NorbertNode.prototype.draw = function() {
|
||||
var s = Math.abs(this.projection.z / (width / 2));
|
||||
s *= 2;
|
||||
var x = Math.floor(this.projection.x - (186 / s));
|
||||
var y = Math.floor(this.projection.y - (50 / s));
|
||||
var x = Math.floor(this.projection.x - (280 / s));
|
||||
var y = Math.floor(this.projection.y - (240 / s));
|
||||
//var x = Math.floor(this.projection.x - (192 / s));
|
||||
//var y = Math.floor(this.projection.y - (180 / s));
|
||||
if (this.norbertLoaded)
|
||||
|
|
Loading…
Reference in New Issue
Block a user