Comments (4)
I'll look into this now
from abacus.
ArrayBufferViews ( ie. Float32Array objects ) aren't built from Array.prototype
> var f = new Float32Array([ 1, 2 ])
> Array.isArray(f);
false
> f.slice
undefined
I'll see what I can find about copying ArrayBufferViews
from abacus.
Copies can be made by constructing a new typed array with the original as its first argument.
But I am not sure yet how to test whether a given object is an ArrayBufferView in a clean way. Nor how to generalize such construction.
from abacus.
I'm not opposed to having a check for instanceof ArrayBufferView
and then creating a copy base on that, but is there anyway to tell which type to make? (ie. Float32, Float64 etc. )
from abacus.
Related Issues (20)
- Develop Localization API
- Develop Payments API
- Devlop Dependency management/DLC APIs
- Develop preliminary Animation/Keyframe APIs HOT 3
- Add stats task to build tools
- why is the A capitalized in Abacus HOT 1
- Abacus.clone does not make deep array copies HOT 1
- Abacus.animation api needs tests for each api method HOT 3
- Abacus.animation internal method cacheKeys() needs review HOT 3
- Tween get() function does not evaluate correctly at preferredIndex of 0 HOT 1
- zlib.deflate is zlib.Deflate in newer node HOT 1
- Which license? HOT 8
- JSHint complains at usage of "delete" as a property name of an object HOT 4
- Introduce Storage APIs HOT 1
- Introduce Event system
- Timer methods should return timer instance
- Add .forEach method to Abacus HOT 3
- Expose Abacus.entity.entities and add APIs for accessing/maintaining them
- Animation States
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abacus.