Skip to content

Commit

Permalink
Fixed build, created new "latest"
Browse files Browse the repository at this point in the history
  • Loading branch information
tsherif committed May 9, 2015
1 parent 574e8ee commit a58f80a
Show file tree
Hide file tree
Showing 9 changed files with 3,267 additions and 3,187 deletions.
4 changes: 2 additions & 2 deletions api/latest/plugins/node/geometry/box.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@
0, 0, x, 0, x, y, 0, y, // v7-v4-v3-v2 bottom
0, 0, x, 0, x, y, 0, y // v4-v7-v6-v5 back
]),
indices:new Uint16Array([
indices:[
0, 1, 2, 0, 2, 3, // front
4, 5, 6, 4, 6, 7, // right
8, 9, 10, 8, 10, 11, // top
12, 13, 14, 12, 14, 15, // left
16, 17, 18, 16, 18, 19, // bottom
20, 21, 22, 20, 22, 23 // back
])
]
};
}
})();
2 changes: 1 addition & 1 deletion api/latest/plugins/node/geometry/cylinder.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
positions : new Float32Array(positions),
normals: new Float32Array(normals),
uv : new Float32Array(uvs),
indices : new Uint16Array(indices)
indices : indices
};
}
})();
2 changes: 1 addition & 1 deletion api/latest/plugins/node/geometry/plane.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
positions:new Float32Array(positions),
normals:new Float32Array(normals),
uv:new Float32Array(uvs),
indices:new Uint16Array(indices)
indices:indices
};
}
})();
2 changes: 1 addition & 1 deletion api/latest/plugins/node/geometry/sphere.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
positions : new Float32Array(positions),
normals: new Float32Array(normals),
uv : new Float32Array(uvs),
indices : new Uint16Array(indices)
indices : indices // Type will be decided internally
};
}
})();
2 changes: 1 addition & 1 deletion api/latest/plugins/node/geometry/teapot.js
Original file line number Diff line number Diff line change
Expand Up @@ -5778,7 +5778,7 @@
coreId:coreId,
primitive:params.wire ? "lines" : "triangles",
positions:new Float32Array(flatten(positions, 3)),
indices:new Uint16Array(flatten(reverse(indices))),
indices:flatten(reverse(indices)),
normals:new Float32Array(flatten(calculateNormals(positions, indices), 3))
};
}
Expand Down
2 changes: 1 addition & 1 deletion api/latest/plugins/node/geometry/torus.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
positions:new Float32Array(positions),
normals:new Float32Array(normals),
uv:new Float32Array(uvs),
indices:new Uint16Array(indices)
indices:indices
};
}

Expand Down
2 changes: 1 addition & 1 deletion api/latest/plugins/node/geometry/vectorText.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
type:"geometry",
primitive:"lines",
positions:new Float32Array(positions),
indices:new Uint16Array(indices)
indices:indices
};
}

Expand Down
6,426 changes: 3,247 additions & 3,179 deletions api/latest/scenejs.js

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions licenses/license-header.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
* SceneJS Latest
*
* A WebGL-based 3D scene graph from xeoLabs
* http://scenejs.org/
*
* MIT License
* Copyright 2015, Lindsay Kay
* http://xeolabs.com/
*
*/

0 comments on commit a58f80a

Please sign in to comment.