canvas-toy
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new Geometry(gl: WebGLRenderingContext): Geometry

Properties

attributes

attributes: object

Type declaration

faces

faces: Faces

Methods

addVertex

  • addVertex(vertex: any): this

generateFlatNormal

  • generateFlatNormal(): this

getTriangleByIndex

  • getTriangleByIndex(triangleIndex: number): Array<any>

getVertexByIndex

  • getVertexByIndex(index: number): any

removeAttribute

  • removeAttribute(name: string): this

setAttribute

  • setAttribute(name: any, attribute: Attribute): this

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc