MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/FleX / AddLine

Method AddLine

demo/d3d11/debugLineRender.h:106–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104 }
105
106 void AddLine(const Vec3& p, const Vec3& q, const Vec4& color)
107 {
108 DebugVertex v = { p, color };
109 DebugVertex w = { q, color };
110
111 queued.push_back(v);
112 queued.push_back(w);
113 }
114
115 void FlushLines(const Matrix44& viewProj)
116 {

Callers 1

DrawLineFunction · 0.80

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected