Code: Select all
Error: SyntaxError: bad method definition
Source File: http://www.grmada.org/CV/CaveView/js/CaveView2.js
Line: 30556, Column: 2
Source Code:
isLineSegmentsGeometry = true;
Thank you!
Moderator: trava90
Code: Select all
Error: SyntaxError: bad method definition
Source File: http://www.grmada.org/CV/CaveView/js/CaveView2.js
Line: 30556, Column: 2
Source Code:
isLineSegmentsGeometry = true;
Code: Select all
class LineSegmentsGeometry extends InstancedBufferGeometry {
isLineSegmentsGeometry = true;
constructor () {
super();
this.type = 'LineSegmentsGeometry';
const positions = [ - 1, 2, 0, 1, 2, 0, - 1, 1, 0, 1, 1, 0, - 1, 0, 0, 1, 0, 0, - 1, - 1, 0, 1, - 1, 0 ];
const uvs = [ - 1, 2, 1, 2, - 1, 1, 1, 1, - 1, - 1, 1, - 1, - 1, - 2, 1, - 2 ];
const index = [ 0, 2, 1, 2, 3, 1, 2, 4, 3, 4, 5, 3, 4, 6, 5, 6, 7, 5 ];
...
Code: Select all
class LineSegmentsGeometry extends InstancedBufferGeometry {
constructor () {
super();
this.type = 'LineSegmentsGeometry';
this.isLineSegmentsGeometry = true;
const positions = [ - 1, 2, 0, 1, 2, 0, - 1, 1, 0, 1, 1, 0, - 1, 0, 0, 1, 0, 0, - 1, - 1, 0, 1, - 1, 0 ];
const uvs = [ - 1, 2, 1, 2, - 1, 1, 1, 1, - 1, - 1, 1, - 1, - 1, - 2, 1, - 2 ];
const index = [ 0, 2, 1, 2, 3, 1, 2, 4, 3, 4, 5, 3, 4, 6, 5, 6, 7, 5 ];
...
Given this and the rest of the developer commentary in this thread, Do you plan/expect to implement these (to some substantial degree that would address, or alleviate, the project's accumulating web-compatibility issues)?
I was speaking of the post made here in this thread.