Skip to content

littlstar/axis3d-orbit-camera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

axis3d-orbit-camera

Orbit camera controller for Axis3D.

Installation

$ npm install axis3d axis3d-orbit-camera

Usage

const { PerspectiveCamera } = require('axis3d/camera')
const { Context } = require('axis3d')

const ctx = new Context()
const orbitCamera = new OrbitCameraController(ctx, {
  camera: new PerspectiveCamera(ctx)
})

orbitCamera(() => {
  // scene
})

License

MIT

About

Orbit camera controller for Axis3D

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published