Skip to content
/ senkei Public

Blazingly fast game mathematics library for WebGL and WebGPU apps

License

Notifications You must be signed in to change notification settings

kamm3r/senkei

Repository files navigation

Size Version Downloads

Senkei

Game dev Math

npm install senkei
import * as Vec3 from 'senkie';

// default to be Vec3 { 0, 0, 0}
const point = Vec3.create()

point[0] = 2
point[1] = 4
point[2] = 10

console.log('add two vector', Vec3.add(point, Vec3.create(34,3,2))