@pirireis/webglobeplugins 0.15.3-alpha → 0.15.4-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bearing-line/plugin.js +3 -2
- package/package.json +1 -1
package/bearing-line/plugin.js
CHANGED
|
@@ -397,8 +397,9 @@ export default class BearingLinePlugin {
|
|
|
397
397
|
const drawRange = { first: 0, count: this.bufferOrchestrator.length };
|
|
398
398
|
this.lineProgram.draw(this.lineVao, { drawRange }, this._opacity);
|
|
399
399
|
if (this.drawAngleRing) {
|
|
400
|
-
this.pieceOfPieProgram.
|
|
401
|
-
this.pieceOfPieProgram.draw(this.bufferOrchestrator.length, this.ringVao, 360,
|
|
400
|
+
this.pieceOfPieProgram._defaultFlexibleUBO.updateSingle("u_opacity", this._opacity * 0.8);
|
|
401
|
+
this.pieceOfPieProgram.draw(this.bufferOrchestrator.length, this.ringVao, 360, RINGPARTIAL_DRAW_MODE.TRIANGLE_FAN);
|
|
402
|
+
this.pieceOfPieProgram.draw(this.bufferOrchestrator.length, this.ringVao, 360, RINGPARTIAL_DRAW_MODE.LINE_STRIP);
|
|
402
403
|
}
|
|
403
404
|
if (this.drawBearingLine) {
|
|
404
405
|
// this.lineProgram.draw(this.bearingLineVAO, this.bufferOrchestrator.length, this._opacity );
|