Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions jme3-core/src/main/java/com/jme3/animation/Bone.java
Original file line number Diff line number Diff line change
Expand Up @@ -671,16 +671,6 @@ public void setUserTransforms(Vector3f translation, Quaternion rotation, Vector3
localScale.multLocal(scale);
}

/**
*
* @param translation -
* @param rotation -
* @deprecated use {@link #setUserTransformsInModelSpace(com.jme3.math.Vector3f, com.jme3.math.Quaternion) }
*/
@Deprecated
public void setUserTransformsWorld(Vector3f translation, Quaternion rotation) {

}
/**
* Sets the transforms of this bone in model space (relative to the root bone)
*
Expand Down
11 changes: 0 additions & 11 deletions jme3-core/src/main/java/com/jme3/light/LightProbe.java
Original file line number Diff line number Diff line change
Expand Up @@ -211,17 +211,6 @@ public BoundingVolume getBounds() {
return new BoundingSphere(area.getRadius(), ((SphereProbeArea)area).getCenter());
}

/**
* Sets the bounds of this LightProbe
* Note that for now only BoundingSphere is supported and this method will
* throw an UnsupportedOperationException with any other BoundingVolume type
* @param bounds the bounds of the LightProbe
* @deprecated
*/
@Deprecated
public void setBounds(BoundingVolume bounds) {
}

public ProbeArea getArea() {
return area;
}
Expand Down
38 changes: 0 additions & 38 deletions jme3-core/src/main/java/com/jme3/material/RenderState.java
Original file line number Diff line number Diff line change
Expand Up @@ -704,35 +704,6 @@ public boolean equals(Object o) {
return true;
}

/**
* @deprecated Does nothing. Point sprite is already enabled by default for
* all supported platforms. jME3 does not support rendering conventional
* point clouds.
*
* @param pointSprite ignored
*/
@Deprecated
public void setPointSprite(boolean pointSprite) {
}

/**
* @deprecated Does nothing. To use alpha test, set the
* <code>AlphaDiscardThreshold</code> material parameter.
* @param alphaFallOff does nothing
*/
@Deprecated
public void setAlphaFallOff(float alphaFallOff) {
}

/**
* @deprecated Does nothing. To use alpha test, set the
* <code>AlphaDiscardThreshold</code> material parameter.
* @param alphaTest does nothing
*/
@Deprecated
public void setAlphaTest(boolean alphaTest) {
}

/**
* Enable writing color.
*
Expand Down Expand Up @@ -981,14 +952,6 @@ public void setDepthFunc(TestFunction depthFunc) {
cachedHashCode = -1;
}

/**
* @deprecated
* @param alphaFunc ignored
*/
@Deprecated
public void setAlphaFunc(TestFunction alphaFunc) {
}

/**
* Sets the mesh line width.
* Use this in conjunction with {@link #setWireframe(boolean)} or with a mesh in
Expand Down Expand Up @@ -1235,7 +1198,6 @@ public BlendFunc getCustomDfactorAlpha() {
/**
* @return true
* @deprecated Always returns true since point sprite is always enabled.
* @see #setPointSprite(boolean)
*/
@Deprecated
public boolean isPointSprite() {
Expand Down
6 changes: 1 addition & 5 deletions jme3-core/src/main/java/com/jme3/renderer/RenderContext.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2019 jMonkeyEngine
* Copyright (c) 2009-2021 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -35,7 +35,6 @@

import com.jme3.material.RenderState;
import com.jme3.math.ColorRGBA;
import com.jme3.scene.Mesh;
import com.jme3.scene.VertexBuffer;
import com.jme3.shader.Shader;
import com.jme3.texture.FrameBuffer;
Expand Down Expand Up @@ -87,9 +86,6 @@ public class RenderContext {
*/
public float polyOffsetUnits;

/**
* @see Mesh#setPointSize(float)
*/
public float pointSize;

/**
Expand Down
14 changes: 0 additions & 14 deletions jme3-core/src/main/java/com/jme3/scene/Mesh.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@
* Meshes may contain three types of geometric primitives:
* <ul>
* <li>Points - Every vertex represents a single point in space.
* Points can also be used for {@link RenderState#setPointSprite(boolean) point
* sprite} mode.</li>
* <li>Lines - 2 vertices represent a line segment, with the width specified
* via {@link Material#getAdditionalRenderState()} and {@link RenderState#setLineWidth(float)}.</li>
* <li>Triangles - 3 vertices represent a solid triangle primitive. </li>
Expand Down Expand Up @@ -615,24 +613,12 @@ public void setMaxNumWeights(int maxNumWeights) {
* determined in the vertex shader.
*
* @return <code>1.0</code>
*
* @see #setPointSize(float)
*/
@Deprecated
public float getPointSize() {
return 1.0f;
}

/**
* @deprecated Does nothing, since the size of {@link Mode#Points points} is
* determined via the vertex shader's <code>gl_PointSize</code> output.
*
* @param pointSize ignored
*/
@Deprecated
public void setPointSize(float pointSize) {
}

/**
* Returns the line width for line meshes.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,14 +226,6 @@ public boolean isFlushQueues() {
return shadowRenderer.isFlushQueues();
}

/**
* setFlushQueues does nothing now and is kept only for backward compatibility
*
* @param flushQueues ignored
*/
@Deprecated
public void setFlushQueues(boolean flushQueues) {}

/**
* sets the shadow compare mode see {@link CompareMode} for more info
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -777,14 +777,6 @@ public void setEdgesThickness(int edgesThickness) {
@Deprecated
public boolean isFlushQueues() { return false; }

/**
* setFlushQueues does nothing now and is kept only for backward compatibility
*
* @param flushQueues ignored
*/
@Deprecated
public void setFlushQueues(boolean flushQueues) {}

/**
* returns the pre shadows pass render state.
* use it to adjust the RenderState parameters of the pre shadow pass.
Expand Down
8 changes: 0 additions & 8 deletions jme3-core/src/main/java/com/jme3/texture/Image.java
Original file line number Diff line number Diff line change
Expand Up @@ -964,14 +964,6 @@ public void setData(int index, ByteBuffer data) {
* @deprecated This feature is no longer used by the engine
*/
@Deprecated
public void setEfficentData(Object efficientData){
}

/**
* @return null
* @deprecated This feature is no longer used by the engine
*/
@Deprecated
public Object getEfficentData(){
return null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ private void readRenderStateStatement(Statement statement) throws IOException{
}else if (split[0].equals("DepthFunc")){
renderState.setDepthFunc(RenderState.TestFunction.valueOf(split[1]));
}else if (split[0].equals("AlphaFunc")){
renderState.setAlphaFunc(RenderState.TestFunction.valueOf(split[1]));
// ignore for backwards compatbility
}else if (split[0].equals("LineWidth")){
renderState.setLineWidth(Float.parseFloat(split[1]));
} else {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.jme3.shadow;

/*
* Copyright (c) 2009-2019 jMonkeyEngine
* Copyright (c) 2009-2021 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -233,14 +233,6 @@ public boolean isFlushQueues() {
return shadowRenderer.isFlushQueues();
}

/**
* setFlushQueues does nothing now and is kept only for backward compatibility.
* @param flushQueues can be <code>true</code> or <code>false</code>.
* @deprecated does nothing now and is kept only for backward compatibility.
*/
@Deprecated
public void setFlushQueues(boolean flushQueues) {}

/**
* Sets the shadow compare mode (see {@link CompareMode} for more info).
* @param compareMode the compare mode.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -755,15 +755,6 @@ public void setEdgesThickness(int edgesThickness) {
@Deprecated
public boolean isFlushQueues() { return false; }

/**
* This method does nothing now and is kept only for backward compatibility.
* @param flushQueues any boolean.
* @deprecated This method does nothing now and is kept only for backward compatibility.
*/
@Deprecated
public void setFlushQueues(boolean flushQueues) {}


/**
* Returns the pre shadows pass render state.
* use it to adjust the RenderState parameters of the pre shadow pass.
Expand Down