Skip to content

chengse66/gl-matrix-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gl-matrix-ts

typescript gl-matrix modify from https://github.com/toji/gl-matrix 3.4.1 for webgl engine 该gl-matrix-ts 修改自gl-matrix 在原来的基础上没有做更大的更改,主要用来适应webgl引擎使用,感谢gl-matrix 项目由chengse66修改,并将在后续产品里申明gl-matrix的版权声明。

glMatrix

NPM Version Build Status

Javascript has evolved into a language capable of handling realtime 3D graphics, via WebGL, and computationally intensive tasks such as physics simulations. These types of applications demand high performance vector and matrix math, which is something that Javascript doesn't provide by default. glMatrix to the rescue!

glMatrix is designed to perform vector and matrix operations stupidly fast! By hand-tuning each function for maximum performance and encouraging efficient usage patterns through API conventions, glMatrix will help you get the most out of your browsers Javascript engine.

Learn More

For documentation and news, visit the glMatrix Homepage

For a tutorial, see the "introducing glMatrix" section of Introduction to Computer Graphics by David J. Eck

For a babel plugin to make writing the API nicer, see babel-plugin-transfrom-gl-matrix

Regarding the current performance in modern web browsers, calling glMatrix.setMatrixArrayType(Array) to use normal arrays instead of Float32Arrays can greatly increase the performance.

Contributing Guidelines

See CONTRIBUTING.md

Building

See BUILDING.md

About

typescript gl-matrix modify from https://github.com/toji/gl-matrix 3.4.1 for webgl engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published