graphile: github.com/gographics/graphile Index | Files

package graphile

import "github.com/gographics/graphile"

Index

Package Files

graphile.go polygon.go wavefront.go

type GeometryFile Uses

type GeometryFile struct {
    // contains filtered or unexported fields
}

GeometryFile store raw geometry before to compile into a mesh structure

type Mesh Uses

type Mesh struct {
    Name    string    `json:"name"`
    Vertex  []float32 `json:"vertex"`
    Normal  []float32 `json:"normal"`
    Color   []float32 `json:"color"`
    Texture []float32 `json:"texture"`
    Indices []uint32  `json:"indices"`
}

Mesh geometry data representation

func Open Uses

func Open(filepath string) (Mesh, error)

Package graphile imports 6 packages (graph). Updated 2016-07-15. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).