Revision 8df64ab9
Added by Leszek Koltunski about 9 years ago
| src/main/java/org/distorted/library/type/Static1D.java | ||
|---|---|---|
| 73 | 73 |
{
|
| 74 | 74 |
x = ox; |
| 75 | 75 |
} |
| 76 |
|
|
| 76 |
|
|
| 77 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
| 78 |
/** |
|
| 79 |
* Resets the value of the first float. |
|
| 80 |
* |
|
| 81 |
* @param ox new value of the first float. |
|
| 82 |
*/ |
|
| 83 |
public void set1(int ox) |
|
| 84 |
{
|
|
| 85 |
x = ox; |
|
| 86 |
} |
|
| 87 |
|
|
| 88 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
| 89 |
/** |
|
| 90 |
* Resets the value of the first float. |
|
| 91 |
* |
|
| 92 |
* @param ox new value of the first float. |
|
| 93 |
*/ |
|
| 94 |
public void set1(float ox) |
|
| 95 |
{
|
|
| 96 |
x = ox; |
|
| 97 |
} |
|
| 98 |
|
|
| 77 | 99 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 78 | 100 |
/** |
| 79 | 101 |
* Return the value of the float contained. |
| src/main/java/org/distorted/library/type/Static2D.java | ||
|---|---|---|
| 82 | 82 |
y = oy; |
| 83 | 83 |
} |
| 84 | 84 |
|
| 85 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
| 86 |
/** |
|
| 87 |
* Resets the value of the second float. |
|
| 88 |
* |
|
| 89 |
* @param oy new value of the second float. |
|
| 90 |
*/ |
|
| 91 |
public void set2(int oy) |
|
| 92 |
{
|
|
| 93 |
y = oy; |
|
| 94 |
} |
|
| 95 |
|
|
| 96 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
| 97 |
/** |
|
| 98 |
* Resets the value of the second float. |
|
| 99 |
* |
|
| 100 |
* @param oy new value of the second float. |
|
| 101 |
*/ |
|
| 102 |
public void set2(float oy) |
|
| 103 |
{
|
|
| 104 |
y = oy; |
|
| 105 |
} |
|
| 106 |
|
|
| 85 | 107 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 86 | 108 |
/** |
| 87 | 109 |
* Return the value of the second float contained. |
| src/main/java/org/distorted/library/type/Static3D.java | ||
|---|---|---|
| 87 | 87 |
y = vy; |
| 88 | 88 |
z = vz; |
| 89 | 89 |
} |
| 90 |
|
|
| 90 |
|
|
| 91 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
| 92 |
/** |
|
| 93 |
* Resets the value of the third float. |
|
| 94 |
* |
|
| 95 |
* @param oz new value of the third float. |
|
| 96 |
*/ |
|
| 97 |
public void set3(int oz) |
|
| 98 |
{
|
|
| 99 |
z = oz; |
|
| 100 |
} |
|
| 101 |
|
|
| 102 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
| 103 |
/** |
|
| 104 |
* Resets the value of the third float. |
|
| 105 |
* |
|
| 106 |
* @param oz new value of the third float. |
|
| 107 |
*/ |
|
| 108 |
public void set3(float oz) |
|
| 109 |
{
|
|
| 110 |
z = oz; |
|
| 111 |
} |
|
| 112 |
|
|
| 91 | 113 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 92 | 114 |
/** |
| 93 | 115 |
* Return the value of the third float contained. |
| src/main/java/org/distorted/library/type/Static4D.java | ||
|---|---|---|
| 94 | 94 |
w = vw; |
| 95 | 95 |
} |
| 96 | 96 |
|
| 97 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
| 98 |
/** |
|
| 99 |
* Resets the value of the fourth float. |
|
| 100 |
* |
|
| 101 |
* @param ow new value of the fourth float. |
|
| 102 |
*/ |
|
| 103 |
public void set4(int ow) |
|
| 104 |
{
|
|
| 105 |
w = ow; |
|
| 106 |
} |
|
| 107 |
|
|
| 108 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
| 109 |
/** |
|
| 110 |
* Resets the value of the fourth float. |
|
| 111 |
* |
|
| 112 |
* @param ow new value of the fourth float. |
|
| 113 |
*/ |
|
| 114 |
public void set4(float ow) |
|
| 115 |
{
|
|
| 116 |
w = ow; |
|
| 117 |
} |
|
| 118 |
|
|
| 97 | 119 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 98 | 120 |
/** |
| 99 | 121 |
* Return the value of the fourth float contained. |
| src/main/java/org/distorted/library/type/Static5D.java | ||
|---|---|---|
| 100 | 100 |
v = vv; |
| 101 | 101 |
} |
| 102 | 102 |
|
| 103 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
| 104 |
/** |
|
| 105 |
* Resets the value of the fifth float. |
|
| 106 |
* |
|
| 107 |
* @param ov new value of the fifth float. |
|
| 108 |
*/ |
|
| 109 |
public void set5(int ov) |
|
| 110 |
{
|
|
| 111 |
v = ov; |
|
| 112 |
} |
|
| 113 |
|
|
| 114 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
| 115 |
/** |
|
| 116 |
* Resets the value of the fifth float. |
|
| 117 |
* |
|
| 118 |
* @param ov new value of the fifth float. |
|
| 119 |
*/ |
|
| 120 |
public void set5(float ov) |
|
| 121 |
{
|
|
| 122 |
v = ov; |
|
| 123 |
} |
|
| 124 |
|
|
| 103 | 125 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 104 | 126 |
/** |
| 105 | 127 |
* Return the value of the fifth float contained. |
Also available in: Unified diff
Flag app finished