Class CuboidOutline

java.lang.Object
net.createmod.catnip.outliner.Outline
com.petrolpark.client.outline.CuboidOutline

public class CuboidOutline extends net.createmod.catnip.outliner.Outline
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.createmod.catnip.outliner.Outline

    net.createmod.catnip.outliner.Outline.OutlineParams
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final org.joml.Vector3f
     
    protected final org.joml.Vector3f
     

    Fields inherited from class net.createmod.catnip.outliner.Outline

    colorTemp, diffPosTemp, maxPosTemp, minPosTemp, normalTransformTemp, params, posTransformTemp
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    render(com.mojang.blaze3d.vertex.PoseStack poseStack, net.createmod.catnip.render.SuperRenderTypeBuffer buffer, net.minecraft.world.phys.Vec3 camera, float pt)
     
    set(net.minecraft.world.phys.AABB box)
     
    set(net.minecraft.world.phys.Vec3 start, net.minecraft.world.phys.Vec3 end)
     
    set(org.joml.Vector3f start, org.joml.Vector3f end)
     

    Methods inherited from class net.createmod.catnip.outliner.Outline

    bufferCuboid, bufferCuboidLine, bufferCuboidLine, bufferQuad, bufferQuad, getParams, tick

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • start

      protected final org.joml.Vector3f start
    • end

      protected final org.joml.Vector3f end
  • Constructor Details

    • CuboidOutline

      public CuboidOutline()
  • Method Details

    • set

      public CuboidOutline set(net.minecraft.world.phys.AABB box)
    • set

      public CuboidOutline set(org.joml.Vector3f start, org.joml.Vector3f end)
    • set

      public CuboidOutline set(net.minecraft.world.phys.Vec3 start, net.minecraft.world.phys.Vec3 end)
    • render

      public void render(@Nonnull com.mojang.blaze3d.vertex.PoseStack poseStack, @Nonnull net.createmod.catnip.render.SuperRenderTypeBuffer buffer, @Nonnull net.minecraft.world.phys.Vec3 camera, float pt)
      Specified by:
      render in class net.createmod.catnip.outliner.Outline