three-render-objects
Advanced tools
Comparing version 1.26.6 to 1.26.7
{ | ||
"name": "three-render-objects", | ||
"version": "1.26.6", | ||
"version": "1.26.7", | ||
"description": "Easy way to render ThreeJS objects with built-in interaction defaults", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -6,3 +6,3 @@ three-render-objects | ||
[![Build Size][build-size-img]][build-size-url] | ||
[![Dependencies][dependencies-img]][dependencies-url] | ||
[![NPM Downloads][npm-downloads-img]][npm-downloads-url] | ||
@@ -19,18 +19,18 @@ This module offers a convenient way to render [ThreeJS](https://threejs.org/) objects onto a WebGL canvas, with built-in interaction capabilities: | ||
``` | ||
```js | ||
import ThreeRenderObjects from 'three-render-objects'; | ||
``` | ||
or | ||
```js | ||
const ThreeRenderObjects = require('three-render-objects'); | ||
``` | ||
var ThreeRenderObjects = require('three-render-objects'); | ||
``` | ||
or even | ||
``` | ||
```html | ||
<script src="//unpkg.com/three-render-objects"></script> | ||
``` | ||
then | ||
``` | ||
```js | ||
const myCanvas = ThreeRenderObjects(); | ||
myCanvas(<myDOMElement>) | ||
.objects(<myData>); | ||
.objects(<myData>); | ||
``` | ||
@@ -41,3 +41,3 @@ | ||
### Initialisation | ||
``` | ||
```js | ||
ThreeRenderObjects({ configOptions })(<domElement>) | ||
@@ -110,7 +110,7 @@ ``` | ||
[npm-img]: https://img.shields.io/npm/v/three-render-objects.svg | ||
[npm-img]: https://img.shields.io/npm/v/three-render-objects | ||
[npm-url]: https://npmjs.org/package/three-render-objects | ||
[build-size-img]: https://img.shields.io/bundlephobia/minzip/three-render-objects.svg | ||
[build-size-img]: https://img.shields.io/bundlephobia/minzip/three-render-objects | ||
[build-size-url]: https://bundlephobia.com/result?p=three-render-objects | ||
[dependencies-img]: https://img.shields.io/david/vasturiano/three-render-objects.svg | ||
[dependencies-url]: https://david-dm.org/vasturiano/three-render-objects | ||
[npm-downloads-img]: https://img.shields.io/npm/dt/three-render-objects | ||
[npm-downloads-url]: https://www.npmtrends.com/three-render-objects |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
727796