mirror of
https://github.com/pissang/claygl.git
synced 2026-01-18 16:22:29 +00:00
34 lines
754 B
TypeScript
34 lines
754 B
TypeScript
import {
|
|
GeometryBase, IGeometryAttributeBuffer, IGeometryBufferChunk,
|
|
IStaticGeometryAttribute, IDefaultStaticGeometryAttributes
|
|
} from './GeometryBase';
|
|
import { Base } from './core/Base';
|
|
import { BoundingBox } from './math/BoundingBox';
|
|
import { Matrix4 } from './math/Matrix4';
|
|
|
|
|
|
export class Geometry extends GeometryBase {
|
|
|
|
boundingBox: BoundingBox;
|
|
|
|
isUniqueVertex(): boolean;
|
|
|
|
getEnabledAttributes(): string[];
|
|
|
|
generateVertexNormals(): void;
|
|
|
|
generateFaceNormals(): void;
|
|
|
|
generateTangents(): void;
|
|
|
|
generateUniqueVertex(): void;
|
|
|
|
generateBarycentric(): void;
|
|
|
|
applyTransform(matrix: Matrix4): void;
|
|
|
|
static STATIC_DRAW: number;
|
|
static DYNAMIC_DRAW: number;
|
|
static STREAM_DRAW: number;
|
|
}
|