126 |
} |
} |
127 |
|
|
128 |
public int buoyOnCircle(int into, float cx, float cy, |
public int buoyOnCircle(int into, float cx, float cy, |
129 |
float rad, float px, float py) { |
float rad, float px, float py, |
130 |
|
float pointdir) { |
131 |
floats[nfloats + 0] = cx; |
floats[nfloats + 0] = cx; |
132 |
floats[nfloats + 1] = cy; |
floats[nfloats + 1] = cy; |
133 |
floats[nfloats + 2] = rad; |
floats[nfloats + 2] = rad; |
134 |
floats[nfloats + 3] = px; |
floats[nfloats + 3] = px; |
135 |
floats[nfloats + 4] = py; |
floats[nfloats + 4] = py; |
136 |
|
floats[nfloats + 5] = pointdir; |
137 |
int paramInd = nfloats; |
int paramInd = nfloats; |
138 |
nfloats += 5; |
nfloats += 6; |
139 |
|
|
140 |
inds[ninds + 0] = 7; // buoy xyz |
inds[ninds + 0] = 7; // buoy xyz |
141 |
inds[ninds + 1] = into; |
inds[ninds + 1] = into; |