File tree 3 files changed +11
-11
lines changed
3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 480
480
trail_object : {
481
481
get : function ( ) { return this . __trail_object }
482
482
} ,
483
- __update_trail : function ( ) {
483
+ __update_trail : function ( v ) {
484
484
this . __ninterval ++
485
485
if ( this . __ninterval >= this . __interval ) {
486
486
this . __ninterval = 0
487
- if ( this . __retain == - 1 ) this . __trail_object . push ( this . __pos )
488
- else this . __trail_object . push ( { pos :this . __pos , retain :this . __retain } )
487
+ if ( this . __retain == - 1 ) this . __trail_object . push ( v )
488
+ else this . __trail_object . push ( { pos :v , retain :this . __retain } )
489
489
}
490
490
}
491
491
} )
Original file line number Diff line number Diff line change 36
36
this . __z = z
37
37
if ( parent ) {
38
38
parent . __change ( )
39
- if ( parent . __make_trail ) parent . __update_trail ( )
39
+ if ( parent . __make_trail ) parent . __update_trail ( vec ( x , y , z ) )
40
40
}
41
41
}
42
42
126
126
function ( value ) {
127
127
this . __x = value
128
128
this . __parent . __change ( )
129
- if ( this . __parent . __make_trail ) this . __parent . __update_trail ( )
129
+ if ( this . __parent . __make_trail ) this . __parent . __update_trail ( vec ( this . __x , this . __y , this . __z ) )
130
130
}
131
131
} ) ;
132
132
139
139
function ( value ) {
140
140
this . __y = value
141
141
this . __parent . __change ( )
142
- if ( this . __parent . __make_trail ) this . __parent . __update_trail ( )
142
+ if ( this . __parent . __make_trail ) this . __parent . __update_trail ( vec ( this . __x , this . __y , this . __z ) )
143
143
}
144
144
} ) ;
145
145
152
152
function ( value ) {
153
153
this . __z = value
154
154
this . __parent . __change ( )
155
- if ( this . __parent . __make_trail ) this . __parent . __update_trail ( )
155
+ if ( this . __parent . __make_trail ) this . __parent . __update_trail ( vec ( this . __x , this . __y , this . __z ) )
156
156
}
157
157
} ) ;
158
158
You can’t perform that action at this time.
0 commit comments