Mesh

ai.dragonfly.mesh.Mesh
See theMesh companion object
class Mesh(val points: NArray[Vec[3]], val triangles: Array[Triangle], val name: String)

Attributes

Companion
object
Source
Mesh.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def copy(copyName: String): Mesh

Attributes

Source
Mesh.scala
def scale(scalar: Double): Unit

Attributes

Source
Mesh.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
Mesh.scala
def transform(f: (Vec[3]) => Vec[3]): Mesh

Attributes

Source
Mesh.scala
def translate(offset: Vec[3]): Unit

Attributes

Source
Mesh.scala

Concrete fields

val name: String

Attributes

Source
Mesh.scala
val points: NArray[Vec[3]]

Attributes

Source
Mesh.scala

Attributes

Source
Mesh.scala