org.jocl.cloth
Class NormalDataCreator

java.lang.Object
  extended by org.jocl.cloth.NormalDataCreator

 class NormalDataCreator
extends java.lang.Object

A class for creating NormalData from a collection of faces


Method Summary
(package private) static NormalData createNormalData(java.util.Collection<? extends de.javagl.simplemesh.Face> faces, int numParticles)
          Creates the NormalData from the given faces and ParticleData.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createNormalData

static NormalData createNormalData(java.util.Collection<? extends de.javagl.simplemesh.Face> faces,
                                   int numParticles)
Creates the NormalData from the given faces and ParticleData.

Parameters:
faces - The faces
numParticles - The number of particles
Returns:
The normal data