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

Function SubmitStaticVertex

libs/drape_frontend/traffic_generator.cpp:94–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void SubmitStaticVertex(glsl::vec3 const & pivot, glsl::vec2 const & normal, float side, float offsetFromStart,
95 glsl::vec4 const & texCoord, std::vector<TrafficStaticVertex> & staticGeom)
96{
97 staticGeom.emplace_back(pivot, TrafficStaticVertex::TNormal(normal, side, offsetFromStart), texCoord);
98}
99
100void SubmitCircleStaticVertices(RoadClass roadClass, glsl::vec3 const & pivot, glsl::vec2 const & rightNormal,
101 glsl::vec2 const & uv, std::vector<TrafficCircleStaticVertex> & circlesGeometry)

Callers 1

GenerateSegmentMethod · 0.85

Calls 1

emplace_backMethod · 0.45

Tested by

no test coverage detected