Project

General

Profile

« Previous | Next » 

Revision f211a191

Added by Leszek Koltunski over 5 years ago

Finish the Rubik app.

View differences:

src/main/java/org/distorted/library/effect/PostprocessEffectGlow.java
319 319
 *
320 320
 * @param glowRadius The 'strength' if the effect, in pixels. 0 = no halo, 10 = halo of roughly 10 pixels
321 321
 *                   around the whole object.
322
 * @param color      RGBA of the color with which to draw the glow.
322
 * @param color      RGBA of the color with which to draw the glow; example: (1.0f,0.0f,0.0f,0.5f) - half transparent red.
323 323
 */
324 324
  public PostprocessEffectGlow(Data1D glowRadius, Data4D color)
325 325
    {
src/main/java/org/distorted/library/main/DistortedOutputSurface.java
818 818
    createProjection();
819 819
    }
820 820

  
821
///////////////////////////////////////////////////////////////////////////////////////////////////
822
/**
823
 * Return the vertical field of view angle.
824
 *
825
 * @return Vertival Field of View Angle, in degrees.
826
 */
827
  public float getFOV()
828
    {
829
    return mFOV;
830
    }
831

  
821 832
///////////////////////////////////////////////////////////////////////////////////////////////////
822 833
/**
823 834
 * Resize the underlying Framebuffer.
src/main/java/org/distorted/library/type/Static1D.java
53 53
    x = ox;
54 54
    }
55 55

  
56
///////////////////////////////////////////////////////////////////////////////////////////////////
57
/**
58
 * Copy a Static1D.
59
 */
60
  public void set(Static1D s)
61
    {
62
    x = s.x;
63
    }
64

  
56 65
///////////////////////////////////////////////////////////////////////////////////////////////////
57 66
/**
58 67
 * Resets the value of the first float.
src/main/java/org/distorted/library/type/Static2D.java
57 57
    y = oy;
58 58
    }
59 59

  
60
///////////////////////////////////////////////////////////////////////////////////////////////////
61
/**
62
 * Copy a Static2D.
63
 */
64
  public void set(Static2D s)
65
    {
66
    x = s.x;
67
    y = s.y;
68
    }
69

  
60 70
///////////////////////////////////////////////////////////////////////////////////////////////////
61 71
/**
62 72
 * Resets the value of the first float.
src/main/java/org/distorted/library/type/Static3D.java
61 61
    z = vz;
62 62
    }
63 63

  
64
///////////////////////////////////////////////////////////////////////////////////////////////////
65
/**
66
 * Copy a Static3D.
67
 */
68
  public void set(Static3D s)
69
    {
70
    x = s.x;
71
    y = s.y;
72
    z = s.z;
73
    }
74

  
64 75
///////////////////////////////////////////////////////////////////////////////////////////////////
65 76
/**
66 77
 * Resets the value of the first float.
src/main/java/org/distorted/library/type/Static4D.java
65 65
    w = vw;
66 66
    }
67 67

  
68
///////////////////////////////////////////////////////////////////////////////////////////////////
69
/**
70
 * Copy a Static4D.
71
 */
72
  public void set(Static4D s)
73
    {
74
    x = s.x;
75
    y = s.y;
76
    z = s.z;
77
    w = s.w;
78
    }
79

  
68 80
///////////////////////////////////////////////////////////////////////////////////////////////////
69 81
/**
70 82
 * Resets the value of the first float.
src/main/java/org/distorted/library/type/Static5D.java
69 69
    v = vv;
70 70
    }
71 71

  
72
///////////////////////////////////////////////////////////////////////////////////////////////////
73
/**
74
 * Copy a Static5D.
75
 */
76
  public void set(Static5D s)
77
    {
78
    x = s.x;
79
    y = s.y;
80
    z = s.z;
81
    w = s.w;
82
    v = s.v;
83
    }
84

  
72 85
///////////////////////////////////////////////////////////////////////////////////////////////////
73 86
/**
74 87
 * Resets the value of the first float.

Also available in: Unified diff