Skip to content

Commit

Permalink
chore: update graphic tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
lslzl3000 committed Jul 23, 2024
1 parent a1d1b2a commit 2a446a2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BitmapTexture2DArray, Color, ComputeShader, GeometryBase, GeometryUtil, GlobalBindGroup, GPUContext, MeshRenderer, NonSerialize, Object3D, StorageGPUBuffer, Struct, StructStorageGPUBuffer, TrailGeometry, UnLitTexArrayMaterial, Vector2, Vector4, View3D } from "@orillusion/core";
import { BitmapTexture2DArray, Color, ComputeShader, GeometryBase, GeometryUtil, GlobalBindGroup, GPUContext, MeshRenderer, Object3D, StorageGPUBuffer, Struct, StructStorageGPUBuffer, TrailGeometry, UnLitTexArrayMaterial, Vector2, Vector4, View3D } from "@orillusion/core";
import { graphicTrailCompute } from '../../compute/graphic3d/GraphicTrailCompute'

export enum FaceMode {
Expand All @@ -18,8 +18,6 @@ export class RibbonStruct extends Struct {
public faceMode: number = FaceMode.FaceToCamera;
public up: Vector4 = new Vector4(0, 1, 0);
public ids: Float32Array = new Float32Array(Graphic3DRibbonRenderer.maxRibbonSegment);

@NonSerialize
public ribbonPoint: Object3D[] = [];
}

Expand Down
4 changes: 1 addition & 3 deletions packages/graphic/renderer/graphic3d/ShapeInfo.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NonSerialize, Struct, Vector4 } from "@orillusion/core";
import { Struct, Vector4 } from "@orillusion/core";

export class ShapeInfo extends Struct {
public shapeIndex: number = 0; //face,poly,line,cycle,rectangle,box,sphere
Expand All @@ -14,7 +14,5 @@ export class ShapeInfo extends Struct {
public endPath: number = 0;
public uSpeed: number = 0;
public vSpeed: number = 0;

@NonSerialize
public paths: Vector4[] = [];
}
3 changes: 1 addition & 2 deletions packages/graphic/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"paths": {
"@orillusion/core": ["../../src"],
"@orillusion/*": ["../*"]
},
"experimentalDecorators": true
}
}
}

0 comments on commit 2a446a2

Please sign in to comment.