@Override
    public boolean equals(Object other) {
        if (!(other instanceof TextureCubeMap)) {
            return false;
        }
        TextureCubeMap that = (TextureCubeMap) other;
        if (this.getWrap(WrapAxis.S) != that.getWrap(WrapAxis.S))
            return false;
        if (this.getWrap(WrapAxis.T) != that.getWrap(WrapAxis.T))
            return false;
        if (this.getWrap(WrapAxis.R) != that.getWrap(WrapAxis.R))
            return false;
        return super.equals(other);
    }
<code>getWrap</code> returns the wrap mode for a given coordinate axis
on this texture.

@param axis
           the axis to return for
@return the wrap mode of the texture.
@throws IllegalArgumentException
            if axis is null
jme3-core/src/main/java/com/jme3/texture/TextureCubeMap.java