Package artofillusion.raytracer

Examples of artofillusion.raytracer.RTDisplacedTriangle$ExtraInfo


    if (texture != null && texture.getResourcePath().endsWith(".png")) {
      String key = texture.toString() + ":" + entity.entityId;
      ResourceLocation newTexture = (ResourceLocation)cache.get(key);

      if (newTexture == null) {
        MobRandomizer$ExtraInfo info = MobRandomizer$ExtraInfo.getInfo(entity);
        MobRuleList list = MobRuleList.get(texture);
        newTexture = list.getSkin(MobRandomizer$ExtraInfo.access$100(info), MobRandomizer$ExtraInfo.access$200(info), MobRandomizer$ExtraInfo.access$300(info), MobRandomizer$ExtraInfo.access$400(info), MobRandomizer$ExtraInfo.access$500(info));
        cache.put(key, newTexture);
        logger.finer("entity %s using %s (cache: %d)", new Object[] {entity, newTexture, Integer.valueOf(cache.size())});
View Full Code Here

TOP

Related Classes of artofillusion.raytracer.RTDisplacedTriangle$ExtraInfo

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.