MCPcopy Create free account
hub / github.com/arrayfire/forge / setRanges

Method setRanges

src/backend/opengl/common.hpp:275–281  ·  view source on GitHub ↗

Set 3d world coordinate ranges * * This method is mostly used for charts and related renderables */

Source from the content-addressed store, hash-verified

273 * This method is mostly used for charts and related renderables
274 */
275 void setRanges(const float pMinX, const float pMaxX,
276 const float pMinY, const float pMaxY,
277 const float pMinZ, const float pMaxZ) {
278 mRange[0] = pMinX; mRange[1] = pMaxX;
279 mRange[2] = pMinY; mRange[3] = pMaxY;
280 mRange[4] = pMinZ; mRange[5] = pMaxZ;
281 }
282
283 /* virtual function to set colormap, a derviced class might
284 * use it or ignore it if it doesnt have a need for color maps.

Callers 1

renderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected