mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2025-02-21 12:51:58 +00:00
update rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/utils/SphereGraph.js.
Signed-off-by: zhoubin <zhoubin113@huawei.com>
This commit is contained in:
parent
8b9d59e328
commit
fdfd2d7021
@ -72,7 +72,7 @@ export class SphereGraph {
|
||||
const b = grid[iy][ix];
|
||||
const c = grid[iy + 1][ix];
|
||||
const d = grid[iy + 1][ix + 1];
|
||||
if (iy !== 0 || this.thetaStart > 0){
|
||||
if (iy !== 0 || this.thetaStart > 0) {
|
||||
indices.push(a, b, d);
|
||||
}
|
||||
if (iy !== heightSegments - 1 || thetaEnd < Math.PI) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user