Skip to content

Latest commit

 

History

History

ply

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

PLY Format

PLY format implementation for interfacing with polyform meshes.

Saving and Loading

package example

import (
    "github.com/EliCDavis/polyform/formats/ply"
    "github.com/EliCDavis/vector/vector3"
)

func ExampleReadWrite() {
    mesh, _ := ply.Load("model.ply")
    scaledMesh := mesh.Scale(vector3.New(2., 2., 2.))
    ply.Save("scaled.ply", scaledMesh, ply.ASCII)
}