Android Open Source - SevenWonders Vertex Wave






From Project

Back to project page SevenWonders.

License

The source code is released under:

Apache License

If you think the Android project SevenWonders listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package wave;
import javax.vecmath.Point3d;
import javax.vecmath.Vector2d;
import javax.vecmath.Vector3d;
/*from   www. ja  va2 s  .  com*/

// TODO: Auto-generated Javadoc
/**
 * The Class VertexWave.
 */
public class VertexWave{
  
  /** The id. */
  int id;
  
  /** The p. */
  private Point3d p;
  
  /** The uv a 2d vector represting the UV 
   * co-ordinates used for Texture
   */
  private Vector2d uv;  
  
  /** The normal to the surface at the vertex */
  private Vector3d normal;
  
  /**
   * Instantiates a new vertex wave.
   * 
   * @param id the id
   * @param p the p
   * @param uv the uv
   */
  public VertexWave(int id, Point3d p, Vector2d uv) {
    super();
    this.id = id;
    this.p = p;
    this.uv = uv;
  }
  
  /**
   * Gets the id.
   * 
   * @return the id
   */
  public int getId() {
    return id;
  }
  
  /**
   * Sets the id.
   * 
   * @param id the new id
   */
  public void setId(int id) {
    this.id = id;
  }
  
  /**
   * Gets the p.
   * 
   * @return the p
   */
  public Point3d getP() {
    return p;
  }
  
  /**
   * Sets the p.
   * 
   * @param p the new p
   */
  public void setP(Point3d p) {
    this.p = p;
  }
  
  /**
   * Gets the uv.
   * 
   * @return the uv
   */
  public Vector2d getUv() {
    return uv;
  }
  
  /**
   * Sets the uv.
   * 
   * @param uv the new uv
   */
  public void setUv(Vector2d uv) {
    this.uv = uv;
  }
  
  /**
   * Gets the normal.
   * 
   * @return the normal
   */
  public Vector3d getNormal() {
    return normal;
  }
  
  /**
   * Sets the normal.
   * 
   * @param normal the new normal
   */
  public void setNormal(Vector3d normal) {
    this.normal = normal;
  }      
}




Java Source Code List

com.facebook.android.AsyncFacebookRunner.java
com.facebook.android.DialogError.java
com.facebook.android.FacebookError.java
com.facebook.android.Facebook.java
com.facebook.android.FbDialog.java
com.facebook.android.Util.java
skylight1.sevenwonders.AboutActivity.java
skylight1.sevenwonders.Adverts.java
skylight1.sevenwonders.Analytics.java
skylight1.sevenwonders.GameState.java
skylight1.sevenwonders.LevelChooserActivity.java
skylight1.sevenwonders.MenuActivity.java
skylight1.sevenwonders.PlayActivity.java
skylight1.sevenwonders.ScoreActivity.java
skylight1.sevenwonders.SettingsActivity.java
skylight1.sevenwonders.Settings.java
skylight1.sevenwonders.SevenWondersApplication.java
skylight1.sevenwonders.SoundTracksStoppingExceptionHandler.java
skylight1.sevenwonders.SplashActivity.java
skylight1.sevenwonders.StoryActivity.java
skylight1.sevenwonders.levels.CoinCollisionAction.java
skylight1.sevenwonders.levels.CollisionAction.java
skylight1.sevenwonders.levels.ExtraTimeAction.java
skylight1.sevenwonders.levels.GameLevel.java
skylight1.sevenwonders.levels.GameObjectDescriptor.java
skylight1.sevenwonders.levels.HazardCollisionAction.java
skylight1.sevenwonders.levels.LevelConstructionToolkit.java
skylight1.sevenwonders.levels.ProtectionAction.java
skylight1.sevenwonders.levels.RubyCollisionAction.java
skylight1.sevenwonders.levels.SpellCollisionAction.java
skylight1.sevenwonders.services.SoundTracks.java
skylight1.sevenwonders.social.DialogUtil.java
skylight1.sevenwonders.social.NoNPEWebView.java
skylight1.sevenwonders.social.facebook.FacebookApplicationPost.java
skylight1.sevenwonders.social.facebook.FacebookConfig.java
skylight1.sevenwonders.social.facebook.FacebookScoreActivity.java
skylight1.sevenwonders.social.facebook.FacebookUtil.java
skylight1.sevenwonders.social.facebook.LoginAndGetPermissions.java
skylight1.sevenwonders.social.facebook.SessionStore.java
skylight1.sevenwonders.social.facebook.WallPost.java
skylight1.sevenwonders.social.twitter.AuthRequest.java
skylight1.sevenwonders.social.twitter.AuthStore.java
skylight1.sevenwonders.social.twitter.TwitterUpdater.java
skylight1.sevenwonders.view.Carpet.java
skylight1.sevenwonders.view.CubeBounds.java
skylight1.sevenwonders.view.GameMessagesDisplay.java
skylight1.sevenwonders.view.GameTexture.java
skylight1.sevenwonders.view.Position.java
skylight1.sevenwonders.view.SevenWondersGLRenderer.java
skylight1.sevenwonders.view.SevenWondersGLSurfaceView.java
skylight1.sevenwonders.view.StoryPagesController.java
skylight1.sevenwonders.view.StyledSpannableStringBuilder.java
skylight1.sevenwonders.view.TextStyles.java
skylight1.sevenwonders.view.TiltControl.java
wave.Constants.java
wave.CreateWave.java
wave.RectangleWave.java
wave.TriangleWave.java
wave.UtilsWave.java
wave.VertexWave.java