| 107 | } |
| 108 | |
| 109 | void CanvasTimeline::DrawTriangle(float posX, int direction) |
| 110 | { |
| 111 | ofBeginShape(); |
| 112 | ofVertex(posX, 0); |
| 113 | ofVertex(posX, mHeight); |
| 114 | ofVertex(posX + mHeight * direction, 0); |
| 115 | ofVertex(posX, 0); |
| 116 | ofEndShape(); |
| 117 | } |
| 118 | |
| 119 | float CanvasTimeline::GetQuantizedForX(float posX, HoverMode clampSide) |
| 120 | { |
nothing calls this directly
no test coverage detected