Package org.jmol.util
Class Normix
java.lang.Object
org.jmol.util.Normix
Provides quantization of normalized vectors so that shading for
lighting calculations can be handled by a simple index lookup
A 'normix' is a normal index, represented as a short
- Author:
- Miguel, miguel@jmol.org
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic short
get2SidedNormix
(V3 v, BS bsTemp) static short
getInverseNormix
(short normix) static short
static short
getNormixV
(V3 v, BS bsTemp) static V3[]
static BS
static void
-
Field Details
-
NORMIX_NULL
public static final short NORMIX_NULL- See Also:
-
-
Constructor Details
-
Normix
public Normix()
-
-
Method Details
-
getNormixCount
public static short getNormixCount() -
newVertexBitSet
-
getVertexVectors
-
setInverseNormixes
public static void setInverseNormixes() -
getInverseNormix
public static short getInverseNormix(short normix) -
getNormixV
-
get2SidedNormix
-