MCPcopy Create free account
hub / github.com/comaps/comaps / vec2

Class vec2

libs/drape/drape_tests/object_pool_tests.cpp:5–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include "drape/object_pool.hpp"
4
5class vec2
6{
7public:
8 class vec2Factory
9 {
10 public:
11 vec2 * GetNew() const { return new vec2(); }
12 };
13
14public:
15 float m_x, m_y;
16 static int m_counter;
17
18 vec2() : m_x(0.0f), m_y(0.0f) { m_counter++; }
19 ~vec2() { m_counter--; }
20};
21
22int vec2::m_counter = 0;
23

Callers 15

ToVec2Function · 0.85
UNIT_TESTFunction · 0.85
AlignFormingNormalsFunction · 0.85
AlignHorizontalFunction · 0.85
AlignVerticalFunction · 0.85
CacheUserMarksFunction · 0.85
GenerateSegmentMethod · 0.85
DrawMethod · 0.85
RenderTextMethod · 0.85

Calls

no outgoing calls

Tested by 1

UNIT_TESTFunction · 0.68