
Product
Introducing Module Reachability: Focus on the Vulnerabilities That Matter
Module Reachability filters out unreachable CVEs so you can focus on vulnerabilities that actually matter to your application.
three-rounded-box
Advanced tools
See it live.
A geometry class with filleted edges for THREE.js. Extends THREE.BufferGeometry
.
RoundedBoxGeometry( width , height , depth , radius , radiusSegments )
width = Float //size of box in x axis, default 1
height = Float //size of box in y axis, default 1
depth = Float //size of box in z axis, default 1
radius = Float //radius of the fillet, default 0.15
radiusSegments = Int //segments along the fillet, default 1
var RoundedBoxGeometry = require('three-rounded-box')(THREE); //pass your instance of three
var myBox = new THREE.Mesh( new RoundedBoxGeometry( 10 , 10 , 10 , 2 , 5 ) );
myScene.add(myBox);
npm install
npm start
You should see a box with smooth edges spinning.
FAQs
Box geometry for three.js with filleted edges
The npm package three-rounded-box receives a total of 233 weekly downloads. As such, three-rounded-box popularity was classified as not popular.
We found that three-rounded-box demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Module Reachability filters out unreachable CVEs so you can focus on vulnerabilities that actually matter to your application.
Product
Socket is introducing a new way to organize repositories and apply repository-specific security policies.
Research
Security News
Socket researchers uncovered malicious npm and PyPI packages that steal crypto wallet credentials using Google Analytics and Telegram for exfiltration.