Package cofh.repack.codechicken.lib.lighting

Examples of cofh.repack.codechicken.lib.lighting.LC


    public LC[] lightCoords = new LC[24];

    public FullBlock() {

      for (int i = 0; i < 24; i++) {
        lightCoords[i] = new LC().compute(verts[i].vec, i / 4);
      }
    }
View Full Code Here


  public CCModel computeLightCoords() {

    LC[] lcs = getOrAllocate(CCRenderState.lightCoordAttrib);
    Vector3[] normals = normals();
    for (int i = 0; i < verts.length; i++) {
      lcs[i] = new LC().compute(verts[i].vec, normals[i]);
    }
    return this;
  }
View Full Code Here

TOP

Related Classes of cofh.repack.codechicken.lib.lighting.LC

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.