Index | Files

package path

import ""


Package Files



const VertStride = 7*4 + 2*2

type Vertex Uses

type Vertex struct {
    // Corner encodes the corner: +0.5 for south, +.25 for east.
    Corner       float32
    MaxY         float32
    FromX, FromY float32
    CtrlX, CtrlY float32
    ToX, ToY     float32

The vertex data suitable for passing to vertex programs.

Package path imports 1 packages (graph) and is imported by 6 packages. Updated 2020-05-30. Refresh now. Tools for package owners.