struct Opal::Graphics::Face3D

Overview

Polygonal face in 3D space with vertex indices and normal

Defined in:

opal/graphics/primitives_3d.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(indices : Array(Int32), normal : Vec3, base_color : Color | Nil = nil) #

[View source]

Instance Method Detail

def base_color : Color | Nil #

[View source]
def indices : Array(Int32) #

[View source]
def normal : Vec3 #

[View source]