Examples of render()


Examples of juzu.test.protocol.mock.MockClient.render()

  private void assertRolesAllowed(String packageName) throws Exception {
    MockApplication<?> application = application(InjectorProvider.GUICE, packageName);
    application.init();
    MockClient client = application.client();
    MockViewBridge view1 = client.render();
    assertInstanceOf(Response.Error.Forbidden.class, view1.assertError());
    client.addRole("foo");
    MockViewBridge view2 = client.render();
    view2.assertOk();
  }
View Full Code Here

Examples of mekanism.client.render.MekanismRenderer.DisplayInteger.render()

        if(rotateAngleX == 0.0F && rotateAngleY == 0.0F && rotateAngleZ == 0.0F)
        {
          if(rotationPointX == 0.0F && rotationPointY == 0.0F && rotationPointZ == 0.0F)
          {
            currentDisplayList.render();
          }
          else {
            GL11.glTranslatef(rotationPointX * scaleFactor, rotationPointY * scaleFactor, rotationPointZ * scaleFactor);
            currentDisplayList.render();
            GL11.glTranslatef(-rotationPointX * scaleFactor, -rotationPointY * scaleFactor, -rotationPointZ * scaleFactor);
 
View Full Code Here

Examples of mods.railcraft.client.render.models.ModelTextured.render()

        GL11.glPushAttrib(GL11.GL_ENABLE_BIT);
        if (!contents.cullBackFaces())
            GL11.glDisable(GL11.GL_CULL_FACE);
        GL11.glPushMatrix();
        GL11.glTranslatef(-0.5F, blockOffset / 16.0F - 0.5F, -0.5F);
        contents.render(cart, 0.0F, 0.0F, -0.1F, 0.0F, 0.0F, 0.0625F);
        GL11.glEnable(GL11.GL_CULL_FACE);
        GL11.glPopMatrix();
        GL11.glPopAttrib();
    }
View Full Code Here

Examples of net.asfun.jangod.interpret.JangodInterpreter.render()

  @Override
  public Object eval(String script, ScriptContext ctx) throws ScriptException {
    TokenParser parser = new TokenParser(script);
    JangodInterpreter interpreter = new JangodInterpreter((Context) ctx);
    try {
      return interpreter.render(parser);
    } catch (InterpretException e) {
      throw new ScriptException(e.getMessage());
    }
  }
View Full Code Here

Examples of net.mcft.copy.betterstorage.client.model.ModelBackpackArmor.render()

          EntityLivingBase.class, float.class, player, partial);
      model.setLivingAnimations(player, 0, 0, partial);
     
      RenderUtils.bindTexture(new ResourceLocation(backpackType.getArmorTexture(backpack, player, 0, null)));
      RenderUtils.setColorFromInt((color >= 0) ? color : 0xFFFFFF);
      model.render(player, 0, 0, 0, 0, 0, 0);
     
      if (color >= 0) {
        RenderUtils.bindTexture(new ResourceLocation(backpackType.getArmorTexture(backpack, player, 0, "overlay")));
        GL11.glColor3f(1.0F, 1.0F, 1.0F);
        model.render(player, 0, 0, 0, 0, 0, 0);
View Full Code Here

Examples of net.minecraft.client.model.ModelBase.render()

    GL11.glTranslatef((float) d, (float) d1, (float) d2);
    GL11.glRotatef(f, 0.0F, 1.0F, 0.0F);
    GL11.glRotatef(90F -bullet.prevRotationPitch - (bullet.rotationPitch - bullet.prevRotationPitch) * f1, 1.0F, 0.0F, 0.0F);
    ModelBase model = (ModelBase) bullet.type.model;
    if(model != null)
      model.render(bullet, 0.0F, 0.0F, -0.1F, 0.0F, 0.0F, 0.0625F);
    GL11.glPopMatrix();
  }

  @Override
  public void doRender(Entity entity, double d, double d1, double d2, float f, float f1)
View Full Code Here

Examples of net.minecraft.client.model.ModelBiped.render()

                            modelBiped.heldItemRight = this.renderPlayer.modelBipedMain.heldItemRight;
                            modelBiped.isSneak = this.renderPlayer.modelBipedMain.isSneak;
                            modelBiped.aimedBow = this.renderPlayer.modelBipedMain.aimedBow;
                        }
                        modelBiped.setLivingAnimations(par1EntityLivingBase, par2, par3, 0.0F);
                        modelBiped.render(par1EntityLivingBase, par2, par3, par4, par5, par6, par7);

                        // Start alpha render
                        GL11.glDisable(GL11.GL_LIGHTING);
                        FMLClientHandler.instance().getClient().getTextureManager().bindTexture(thermalPaddingTexture0);
                        GL11.glEnable(GL11.GL_ALPHA_TEST);
View Full Code Here

Examples of net.minecraft.client.model.ModelRenderer.render()

      ModelRenderer cube = modelList.get(i);
     
      rand.setSeed(i * 1000);
      GL11.glRotatef(560F * rand.nextFloat() * progress, rand.nextFloat() * (rand.nextFloat() > 0.5F ? -1 : 1) * progress, rand.nextFloat() * (rand.nextFloat() > 0.5F ? -1 : 1) * progress, rand.nextFloat() * (rand.nextFloat() > 0.5F ? -1 : 1) * progress);
      GL11.glTranslated(rand.nextDouble() * progress * 0.3D, rand.nextDouble() * progress * 0.3D, rand.nextDouble() * progress * 0.3D);
      cube.render(f5);
    }
   
    GL11.glPopMatrix();
  }
}
 
View Full Code Here

Examples of net.paoding.rose.web.portal.WindowRender.render()

        if (window.getContentLength() >= 0) {
            if (logger.isDebugEnabled()) {
                logger.debug("rendering window: " + window.getPath() + "; contentLength="
                        + window.getContentLength());
            }
            render.render(out, window);
            return;
        }
        if (logger.isInfoEnabled()) {
            logger.info("rendering a unsuccess window: " + window.getPath() + "; contentLength="
                    + window.getContentLength() + "; sc=" + window.getStatusCode());
View Full Code Here

Examples of net.pterodactylus.util.template.Template.render()

      templateContext.set("currentEdition", core.getUpdateChecker().getLatestEdition());
      templateContext.set("version", SonePlugin.VERSION);
      StringWriter writer = new StringWriter();
      StringBucket bucket = null;
      try {
        template.render(templateContext, writer);
        bucket = new StringBucket(writer.toString(), utf8Charset);
        return new ManifestElement(name, bucket, contentType, bucket.size());
      } catch (TemplateException te1) {
        logger.log(Level.SEVERE, String.format("Could not render template “%s”!", templateName), te1);
        return null;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.