Skip to content
This repository has been archived by the owner on Oct 2, 2018. It is now read-only.
/ veclib Public archive

TypeScript fork of gl-matrix for internal use in Stardazed

License

Notifications You must be signed in to change notification settings

stardazed/veclib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

veclib (deprecated)

This repo is no longer used, an updated version of this code is now part of the Stardazed Monorepo and as an NPM package as well.

Old Readme Contents

This is a fork of gl-matrix, with the following changes:

  • Converted to TypeScript
  • Added a few vector methods (mix, clamp, clamp01, zero, one)
  • Added an ELEMENT_COUNT constant to all types
  • Changed the forEach method to accept a vararg list
  • Removed the SIMD mat4 functions, most browsers never had SIMD support at all and Chrome recently removed support for these methods in non-WASM execution contexts, so having them here in JS-land is pointless.

All current and future changes are there to facilitate integration with or utility for the Stardazed library, not to preserve compatibility with the original code or its clients.

There is no support for any usage or build setup other than what is used by SD. It is a seperate, but internal module of SD.

About

TypeScript fork of gl-matrix for internal use in Stardazed

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published