Home
last modified time | relevance | path

Searched refs:LineDirection (Results 1 – 2 of 2) sorted by relevance

/external/oboe/samples/RhythmGame/third_party/glm/gtx/
Dclosest_point.inl16 tvec3<T, P> LineDirection = (b - a) / LineLength; local
18 // Project Vector to LineDirection to get the distance of point from a
19 T Distance = dot(Vector, LineDirection);
23 return a + LineDirection * Distance;
36 tvec2<T, P> LineDirection = (b - a) / LineLength; local
38 // Project Vector to LineDirection to get the distance of point from a
39 T Distance = dot(Vector, LineDirection);
43 return a + LineDirection * Distance;
/external/perfetto/ui/src/frontend/
Dflow_events_renderer.ts39 type LineDirection = 'LEFT'|'RIGHT'|'UP'|'DOWN'; alias
196 let beginDir: LineDirection = 'LEFT';
197 let endDir: LineDirection = 'RIGHT';
233 private getDeltaX(dir: LineDirection, offset: number): number {
248 private getDeltaY(dir: LineDirection, offset: number): number {
265 begin: {x: number, y: number, dir: LineDirection},
266 end: {x: number, y: number, dir: LineDirection}, hue: number,