Lines Matching refs:point
97 PointsList.prototype.add = function (point) { argument
98 if (this.head !== null) this.head.prev = point;
99 point.next = this.head;
100 this.head = point;
105 PointsList.prototype.remove = function (point) { argument
106 if (point.next !== null) {
107 point.next.prev = point.prev;
109 if (point.prev !== null) {
110 point.prev.next = point.next;
112 this.head = point.next;
161 var point = new Point(Math.random() * 40 - 20,
166 livePoints.add(point);
168 splayTree.insert(key, point);
186 var point = splayTree.remove(key).value;
188 var point = splayTree.remove(greatest.key).value;
190 livePoints.remove(point);
191 point.payload = null;
192 dyingPoints.add(point);
337 for (var point = dyingPoints.head; point !== null; point = point_next) {
339 scene.drawPoint(point.x, point.y, point.z, point.color());
341 point_next = point.next;
345 if (point.decay()) {
346 dyingPoints.remove(point);