MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / GetFour

Method GetFour

engine/Poseidon/Foundation/Containers/BigArray.hpp:31–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29
30template <class Type, int dimX, int dimY>
31void BigArrayNormal<Type, dimX, dimY>::GetFour(Type res[2][2], int x, int y) const
32{
33 ASSERT_RANGE(x, y);
34 ASSERT_RANGE(x + 1, y + 1);
35 res[0][0] = _array[y][x];
36 res[0][1] = _array[y][x + 1];
37 res[1][0] = _array[y + 1][x];
38 res[1][1] = _array[y + 1][x + 1];
39}
40
41const int elemLog = 2;
42

Callers 6

CheckUnderLandMethod · 0.80
CheckIntersectionMethod · 0.80
BumpySurfaceYMethod · 0.80
SurfacePlaneMethod · 0.80
SurfaceYMethod · 0.80
test_bigarray.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected