enum CrShader::Compute::AttractorType

Defined in:

crshader/compute/particle_simulation_core.cr

Enum Members

Point = 0
Directional = 1
Vortex = 2
Spring = 3

Instance Method Summary

Instance Method Detail

def directional? #

Returns true if this enum value equals Directional


def point? #

Returns true if this enum value equals Point


def spring? #

Returns true if this enum value equals Spring


def vortex? #

Returns true if this enum value equals Vortex