/dports/games/trackballs/trackballs-1.3.3/src/ |
H A D | switch.cc | 70 packObjectVertex(pos, position[0] + body_wid, position[1] + body_rad * std::cos(angle), in generateBuffers() 73 packObjectVertex(pos, position[0] - body_wid, position[1] + body_rad * std::cos(angle), in generateBuffers() 80 packObjectVertex(pos, position[0] + body_wid, position[1] + body_rad * std::cos(angle), in generateBuffers() 86 packObjectVertex(pos, position[0] - body_wid, position[1] + body_rad * std::cos(angle), in generateBuffers() 89 pos += packObjectVertex(pos, position[0] + body_wid, position[1], position[2], 0., 0., in generateBuffers() 91 pos += packObjectVertex(pos, position[0] - body_wid, position[1], position[2], 0., 0., in generateBuffers() 119 packObjectVertex(pos, position[0], position[1], position[2], 0., 0., primaryColor, flat); in generateBuffers() 120 pos += packObjectVertex( in generateBuffers() 123 pos += packObjectVertex( in generateBuffers() 126 pos += packObjectVertex( in generateBuffers() [all …]
|
H A D | teleport.cc | 68 pos += packObjectVertex(pos, position[0] + sinN[i] * irad, position[1] + width, in generateBuffers() 71 pos += packObjectVertex(pos, position[0] + sinN[i] * orad, position[1] + width, in generateBuffers() 77 pos += packObjectVertex(pos, position[0] + sinN[i] * irad, position[1] - width, in generateBuffers() 80 pos += packObjectVertex(pos, position[0] + sinN[i] * orad, position[1] - width, in generateBuffers() 86 pos += packObjectVertex(pos, position[0] + sinN[i] * irad, position[1] - width, in generateBuffers() 89 pos += packObjectVertex(pos, position[0] + sinN[i] * irad, position[1] + width, in generateBuffers() 95 pos += packObjectVertex(pos, position[0] + sinN[i] * orad, position[1] - width, in generateBuffers() 98 pos += packObjectVertex(pos, position[0] + sinN[i] * orad, position[1] + width, in generateBuffers() 129 pos += packObjectVertex(pos, position[0], position[1], position[2] + 0.3, 0., 0., white, in generateBuffers() 154 pos += packObjectVertex(pos, position[0], position[1], position[2] + cent_height, 0., 0., in generateBuffers() [all …]
|
H A D | sign.cc | 86 pos += packObjectVertex(pos, position[0] + dx, position[1] + dy, position[2] + dz, in generateBuffers() 88 pos += packObjectVertex(pos, position[0] + dx, position[1] + dy, position[2] - dz, in generateBuffers() 90 pos += packObjectVertex(pos, position[0] - dx, position[1] - dy, position[2] + dz, in generateBuffers() 92 pos += packObjectVertex(pos, position[0] - dx, position[1] - dy, position[2] - dz, in generateBuffers() 95 pos += packObjectVertex(pos, position[0] - dx, position[1] - dy, position[2] + dz, in generateBuffers() 97 pos += packObjectVertex(pos, position[0] - dx, position[1] - dy, position[2] - dz, in generateBuffers() 99 pos += packObjectVertex(pos, position[0] + dx, position[1] + dy, position[2] + dz, in generateBuffers() 101 pos += packObjectVertex(pos, position[0] + dx, position[1] + dy, position[2] - dz, in generateBuffers()
|
H A D | flag.cc | 57 pos += packObjectVertex(pos, position[0] + ox, position[1], position[2], 0., 0., in generateBuffers() 59 pos += packObjectVertex(pos, position[0] - ox, position[1], position[2], 0., 0., in generateBuffers() 61 pos += packObjectVertex(pos, position[0] + ox, position[1], position[2] + 0.71, 0., 0., in generateBuffers() 63 pos += packObjectVertex(pos, position[0] - ox, position[1], position[2] + 0.71, 0., 0., in generateBuffers() 79 pos += packObjectVertex(pos, position[0] + dx[i], position[1] - 0.1 * i, position[2] + 0.7, in generateBuffers() 81 pos += packObjectVertex(pos, position[0] + dx[i], position[1] - 0.1 * i, position[2] + 0.5, in generateBuffers()
|
H A D | diamond.cc | 47 packObjectVertex(&data[0], position[0], position[1], position[2] - .4, 0., 0., color, flat); in generateBuffers() 50 packObjectVertex(&data[(i + 1) * 8], position[0] + std::sin(v) * 0.25, in generateBuffers() 53 packObjectVertex(&data[7 * 8], position[0], position[1], position[2] + .4, 0., 0., color, in generateBuffers()
|
H A D | bird.cc | 80 pos += packObjectVertex(pos, position[0] + loc[0][0], position[1] + loc[0][1], position[2], in generateBuffers() 82 pos += packObjectVertex(pos, position[0] + loc[1][0], position[1] + loc[1][1], position[2], in generateBuffers() 84 pos += packObjectVertex(pos, position[0] + loc[2][0], position[1] + loc[2][1], in generateBuffers() 86 pos += packObjectVertex(pos, position[0] + loc[3][0], position[1] + loc[3][1], in generateBuffers()
|
H A D | cactus.cc | 80 pos += packObjectVertex(pos, position[0] + loc[0], position[1] + loc[1], in generateBuffers() 85 pos += packObjectVertex(pos, position[0], position[1], position[2] + heights[4], 0., 0., in generateBuffers() 118 pos += packObjectVertex(pos, position[0] + central[0], position[1] + central[1], in generateBuffers() 121 pos += packObjectVertex(pos, position[0] + end[0], position[1] + end[1], in generateBuffers()
|
H A D | pipe.cc | 64 pos += packObjectVertex( in generateBuffers() 69 pos += packObjectVertex( in generateBuffers()
|
H A D | map.cc | 946 packObjectVertex(&data[j * 8 * 8], x + edge, y + edge, center.heights[Cell::SW], 0., 0., in drawFootprint() 948 packObjectVertex(&data[j * 8 * 8 + 8], x + 1 - edge, y + edge, center.heights[Cell::SE], in drawFootprint() 950 packObjectVertex(&data[j * 8 * 8 + 16], x + 1 - edge, y + 1 - edge, in drawFootprint() 952 packObjectVertex(&data[j * 8 * 8 + 24], x + edge, y + 1 - edge, center.heights[Cell::NW], in drawFootprint() 954 packObjectVertex(&data[j * 8 * 8 + 32], x - edge, y - edge, center.heights[Cell::SW], 0., in drawFootprint() 956 packObjectVertex(&data[j * 8 * 8 + 40], x + 1 + edge, y - edge, center.heights[Cell::SE], in drawFootprint() 958 packObjectVertex(&data[j * 8 * 8 + 48], x + 1 + edge, y + 1 + edge, in drawFootprint() 1080 pos += packObjectVertex(pos, cur[0] + width * res[0] + off * anti[0], in drawLoop() 1083 pos += packObjectVertex(pos, cur[0] - width * res[0] + off * anti[0], in drawLoop() 1145 pos += packObjectVertex(pos, x1 + (r - width) * std::cos(angle), in drawSpotRing() [all …]
|
H A D | ball.cc | 189 pos += packObjectVertex(pos, loc[0] + sub[0], loc[1] + sub[1], loc[2] + sub[2], 0., 0., in generateBuffers() 195 pos += packObjectVertex(pos, loc[0] + sub[0], loc[1] + sub[1], loc[2] + sub[2], 0., 0., in generateBuffers() 279 pos += packObjectVertex(pos, loc[0] + sin10[i0] * ir, loc[1] + cos10[i0] * ir, loc[2], in generateBuffers() 281 pos += packObjectVertex(pos, loc[0] + sin10[i1] * ir, loc[1] + cos10[i1] * ir, loc[2], in generateBuffers() 284 pos += packObjectVertex(pos, loc[0] + sin10[i0] * mr, loc[1] + cos10[i0] * mr, in generateBuffers() 286 pos += packObjectVertex(pos, loc[0] + sin10[i1] * mr, loc[1] + cos10[i1] * mr, in generateBuffers() 289 pos += packObjectVertex(pos, loc[0] + sin10[i0] * lr, loc[1] + cos10[i0] * lr, loc[2], in generateBuffers() 291 pos += packObjectVertex(pos, loc[0] + sin10[i1] * lr, loc[1] + cos10[i1] * lr, loc[2], in generateBuffers() 345 pos += packObjectVertex(pos, loc[0] + std::cos(spin) * corners[i][0], in generateBuffers() 373 pos += packObjectVertex( in generateBuffers()
|
H A D | forcefield.cc | 67 pos += packObjectVertex(pos, position[0] + xycoords[i][0] * ndir[0], in generateBuffers()
|
H A D | goal.cc | 113 pos += packObjectVertex(pos, loc[0] + local[0], loc[1] + local[1], loc[2] + local[2], in generateBuffers()
|
H A D | glHelp.h | 54 size_t packObjectVertex(void *dest, GLfloat x, GLfloat y, GLfloat z, GLfloat tx, GLfloat ty,
|
H A D | spike.cc | 194 pos += packObjectVertex(pos, position[0] + flocal[0], position[1] + flocal[1], in generateSpikeVBO()
|
H A D | weather.cc | 185 pos += packObjectVertex(pos, p.position[0] + p.corners[k][0] * size, in draw2()
|
H A D | glHelp.cc | 334 size_t packObjectVertex(void *dest, GLfloat x, GLfloat y, GLfloat z, GLfloat tx, GLfloat ty, in packObjectVertex() function 639 pos += packObjectVertex(pos, position[0] + radius * off[0], position[1] + radius * off[1], in placeObjectSphere()
|