LCOV - code coverage report
Current view: top level - source/graphics - Terrain.cpp (source / functions) Hit Total Coverage
Test: 0 A.D. test coverage report Lines: 236 353 66.9 %
Date: 2023-01-19 00:18:29 Functions: 17 27 63.0 %

Function Name Sort by function name Hit count Sort by hit count
_GLOBAL__sub_I_Terrain.cpp 1
__static_initialization_and_destruction_0(int, int) 1
CTerrain::Initialize(long, unsigned short const*) 22
CTerrain::ReleaseData() 48
CTerrain::SetHeightMap(unsigned short*) 0
CTerrain::ResizeAndOffset(long, long, long) 13
CTerrain::GetVertexesBound(long, long, long, long) 0
CTerrain::InitialisePatches() 29
CTerrain::MakeDirty(int) 64
CTerrain::MakeDirty(long, long, long, long, int) 0
CTerrain::CTerrain() 19
CTerrain::~CTerrain() 19
CTerrain::CalcNormal(long, long, CVector3D&) const 3
CTerrain::CalcPosition(long, long, CVector3D&) const 295951
CTerrain::GetSlopeFixed(long, long) const 0
CTerrain::CalcExactNormal(float, float) const 0
CTerrain::CalcNormalFixed(long, long, CFixedVector3D&) const 3
CTerrain::CalcPositionFixed(long, long, CFixedVector3D&) const 15
CTerrain::GetExactSlopeFixed(CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>) const 0
CTerrain::GetExactGroundLevel(float, float) const 6
CTerrain::GetTriangulationDir(long, long) const 6
CTerrain::GetVertexGroundLevel(long, long) const 0
CTerrain::GetFilteredGroundLevel(float, float, float) const 0
CTerrain::GetExactGroundLevelFixed(CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>) const 65031
CTerrain::GetVertexGroundLevelFixed(long, long) const 0
CTerrain::GetTile(long, long) const 0
CTerrain::GetPatch(long, long) const 1293

Generated by: LCOV version 1.13