@@ -285,7 +285,7 @@ proto.update = function(data) {
285
285
}
286
286
287
287
if ( true ) {
288
- var delaunayOptions = calculateMesh ( this . data . x , this . data . y , this . data . z , options . lineColor , this . scene . dataScale ) ;
288
+ var delaunayOptions = calculateMesh ( this . data . x , this . data . y , this . data . z , options . lineColor , options . scatterColor , this . scene . dataScale ) ;
289
289
if ( this . delaunayMesh ) {
290
290
this . delaunayMesh . update ( delaunayOptions ) ;
291
291
} else {
@@ -324,7 +324,7 @@ function createLineWithMarkers(scene, data) {
324
324
325
325
module . exports = createLineWithMarkers ;
326
326
327
- function calculateMesh ( inputX , inputY , inputZ , inputC , scalingFactor ) {
327
+ function calculateMesh ( inputX , inputY , inputZ , inputC , inputMC , scalingFactor ) {
328
328
329
329
function addVertex ( X , Y , Z , x , y , z ) {
330
330
X . push ( x ) ;
@@ -900,7 +900,7 @@ function calculateMesh(inputX, inputY, inputZ, inputC, scalingFactor) {
900
900
}
901
901
902
902
for ( n = 0 ; n < p . x . length ; n ++ ) {
903
- index = addPointMarker ( unitSphere , p . x [ n ] , p . y [ n ] , p . z [ n ] , [ 64 / 255 , 64 / 255 , 255 / 255 ] , 0.1 , index , X , Y , Z , I , J , K , F ) ;
903
+ index = addPointMarker ( unitSphere , p . x [ n ] , p . y [ n ] , p . z [ n ] , inputMC [ n ] , 0.1 , index , X , Y , Z , I , J , K , F ) ;
904
904
}
905
905
906
906
return {
0 commit comments