Home | History | Annotate | Download | only in shape

Lines Matching refs:normals

119         //normalMap merges normals of faces that will be rendered smooth

125 //preparing normal list (the order of normals must match the order of vertices)
126 float[] normals = new float[vertices.length * 3];
130 normals[arrayIndex++] = n.x;
131 normals[arrayIndex++] = n.y;
132 normals[arrayIndex++] = n.z;
137 this.setBuffer(VertexBuffer.Type.Normal, 3, normals);
229 * This method adds a normal to a normals' map. This map is used to merge normals of a vertor that should be rendered smooth.
233 * merges normals of faces that will be rendered smooth; the key is the vertex and the value - its normal vector
235 * the variable that indicates wheather to merge normals (creating the smooth mesh) or not