This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Mesh Simplification | |
(C) by Sven Forstmann in 2014 | |
derived from: https://github.com/sp4cerat/Fast-Quadric-Mesh-Simplification | |
and: https://github.com/timknip/mesh-decimate/blob/master/src/simplify.js | |
License : MIT | |
http://opensource.org/licenses/MIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.jayfella.jme.vehicle; | |
import com.jme3.math.FastMath; | |
import com.jme3.math.Quaternion; | |
/** | |
* Provides functionality to get and set rotations, limit the rotation to avoid large angles and convert them into | |
* a quaternion for scene rotation. | |
* | |
* @author jayfella |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.jayfella.sdk.resolver; | |
import com.jme3.light.DirectionalLight; | |
import com.jme3.light.Light; | |
import com.jme3.renderer.RenderManager; | |
import com.jme3.renderer.ViewPort; | |
import com.jme3.scene.Geometry; | |
import com.jme3.scene.Node; | |
import com.jme3.scene.SceneGraphVisitorAdapter; | |
import com.jme3.scene.Spatial; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// compile group: 'uk.co.caprica', name: 'vlcj', version: '4.1.0' | |
package com.jayfella.test; | |
import com.jme3.app.SimpleApplication; | |
import com.jme3.material.Material; | |
import com.jme3.material.Materials; | |
import com.jme3.material.RenderState; | |
import com.jme3.math.FastMath; | |
import com.jme3.scene.Geometry; |