14 Star 134 Fork 24

nshen / ogl-typescript

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 3.32 KB
一键复制 编辑 原始数据 按行查看 历史
nshen 提交于 2020-09-10 09:50 . update README.md.

OGL-TypeScript

version license dependencies size

Minimal WebGL library.


⚠️ Note: currently in alpha, so expect breaking changes.

OGL-TypeScript is TypeScript port of OGL Minimal WebGL library , so it add code completion feature to OGL.

Install

npm i ogl-typescript

Usage

Same as OGL, just change

import { ... } from 'ogl';

to

import { ... } from 'ogl-typescript'

You can find ogl-typescript-starter here, it's very easy to get start.

Examples

Show me what you got! - Explore a comprehensive list of examples, with comments in the source code.

Build

build library

yarn build # npm run build

build examples

yarn build:examples # npm run build:examples

Versions

OGL-TypeScript OGL
0.1.20 0.0.60
0.1.19 0.0.59
0.1.18 0.0.58
0.1.17 0.0.57
0.1.16 add computeVertexNormal method to Geometry
0.1.15 0.0.56
0.1.14 0.0.55
0.1.13 0.0.54
0.1.12 0.0.53
0.1.11 0.0.52
0.1.10 0.0.51
0.1.9 0.0.50
0.1.8 0.0.49
0.1.7 0.0.48
0.1.6 0.0.47
0.1.5 0.0.46
0.1.4 0.0.45
0.1.3 0.0.43
0.1.2 0.0.42
0.1.1 0.0.40
TypeScript
1
https://gitee.com/nshen/ogl-typescript.git
git@gitee.com:nshen/ogl-typescript.git
nshen
ogl-typescript
ogl-typescript
master

搜索帮助