normals

WebJar for normals

Лицензия

Лицензия

MIT
Категории

Категории

ORM Данные
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

normals
Последняя версия

Последняя версия

1.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

normals
WebJar for normals
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/mikolalysenko/normals

Скачать normals

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/normals/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>normals</artifactId>
    <version>1.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/normals/
implementation 'org.webjars.npm:normals:1.1.0'
// https://jarcasting.com/artifacts/org.webjars.npm/normals/
implementation ("org.webjars.npm:normals:1.1.0")
'org.webjars.npm:normals:jar:1.1.0'
<dependency org="org.webjars.npm" name="normals" rev="1.1.0">
  <artifact name="normals" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='normals', version='1.1.0')
)
libraryDependencies += "org.webjars.npm" % "normals" % "1.1.0"
[org.webjars.npm/normals "1.1.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

normals

Estimates normals for surface meshes.

Installation

Using npm:

npm install normals

Example

Here is how to compute the vertex and face normals for the Stanford bunny:

    var bunny = require("bunny");
    bunny.vertexNormals = require("normals").vertexNormals(bunny.cells, bunny.positions[,epsilon]);
    bunny.faceNormals = require("normals").faceNormals(bunny.cells, bunny.positions[,epsilon]);

require("normals").vertexNormals(cells, positions[,epsilon])

This estimates the vertex normals for an oriented mesh.

  • cells is an array of indexed vertex positions
  • positions is an array of vertex positions

Returns: An array of length = positions.length of the per-vertex normals.

require("normals").faceNormals(cells, positions[,epsilon])

This estimates the face normals for an oriented mesh.

  • cells is an array of indexed vertex positions
  • positions is an array of vertex positions

Returns: An array of length = cells.length of the per-face normals.

Credits

(c) 2013 Mikola Lysenko. BSD

Версии библиотеки

Версия
1.1.0