gpujs / gpujs/gpu.js

using GLSL vec2 and vec3 types and their accelerated functions

Aperta
#657 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
15.5k
Fork
663
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Is there a way to use vector types, accelerated functions and basic operators that are usually provided by GLSL ?

Right now I'm recoding my own functions to calculate distances between points, to calculate vector magnitudes, and each time I want to divide a vector by a scalar, I have to divide the x, y and z component individually.

Is there something that I'm missing ?

Some issues mention that this support has been added but I can not find anything about it in the doc, are there any examples ?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.