1 Star 0 Fork 24

Baiqr / ogl-typescript

forked from nshen / ogl-typescript 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

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
MIT License Copyright (c) 2019 Nathan Gordon Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

轻量级WebGL 3D框架,演示: http://nshen.gitee.io/ogl-typescript 展开 收起
TypeScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
TypeScript
1
https://gitee.com/Baiqr/ogl-typescript.git
git@gitee.com:Baiqr/ogl-typescript.git
Baiqr
ogl-typescript
ogl-typescript
master

搜索帮助

14c37bed 8189591 565d56ea 8189591