Skip to content

vivihoo03/planehelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This module is helperful to deal with 3d/2d coordinated system switch in threejs

Installation

npm install planehelper 
or
yarn add planehelper

Quick Used

import { PlaneHelper } from 'planhelper';

const planeHp = PlaneHelper.createPlane(normal, origin, xRay)

planeHp.converTo2D(...)
planeHp.converTo3D(...)

API

createPlane
convertTo2D
convertTo3D
convertTo2DVec
converTo3DVec
intersectInfinityLine
intesectLine
intersectSegment
projectPoint
applyMatrix4
copy
getTransMatrix
toMetaData
loadMetaData

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published