Browse Source

tiny refactor and updated history for graph3d

css_transitions
Alex de Mulder 10 years ago
parent
commit
59195f9d3c
4 changed files with 9 additions and 5 deletions
  1. +4
    -0
      HISTORY.md
  2. +1
    -1
      dist/vis.js
  3. +3
    -3
      dist/vis.min.js
  4. +1
    -1
      src/graph3d/graph3d.js

+ 4
- 0
HISTORY.md View File

@ -16,6 +16,10 @@ http://visjs.org
- Added hover option. - Added hover option.
- Added hover events (hoverNode, blurNode). - Added hover events (hoverNode, blurNode).
### Graph3D
- Ported Graph3D from Chap Links.
## 2014-05-28, version 1.0.2 ## 2014-05-28, version 1.0.2

+ 1
- 1
dist/vis.js View File

@ -20466,7 +20466,7 @@ G3DpreventDefault = function (event) {
* @param {Number} y * @param {Number} y
* @param {Number} z * @param {Number} z
*/ */
Point3d = function(x, y, z) {
function Point3d(x, y, z) {
this.x = x !== undefined ? x : 0; this.x = x !== undefined ? x : 0;
this.y = y !== undefined ? y : 0; this.y = y !== undefined ? y : 0;
this.z = z !== undefined ? z : 0; this.z = z !== undefined ? z : 0;

+ 3
- 3
dist/vis.min.js
File diff suppressed because it is too large
View File


+ 1
- 1
src/graph3d/graph3d.js View File

@ -2431,7 +2431,7 @@ G3DpreventDefault = function (event) {
* @param {Number} y * @param {Number} y
* @param {Number} z * @param {Number} z
*/ */
Point3d = function(x, y, z) {
function Point3d(x, y, z) {
this.x = x !== undefined ? x : 0; this.x = x !== undefined ? x : 0;
this.y = y !== undefined ? y : 0; this.y = y !== undefined ? y : 0;
this.z = z !== undefined ? z : 0; this.z = z !== undefined ? z : 0;

Loading…
Cancel
Save