DeformedMesh.deform

Deforms a single vertex within the mesh by the given amount.

  1. void deform(vec2[] by)
  2. void deform(vec2 by)
  3. void deform(size_t offset, vec2 by)
    class DeformedMesh
    @nogc
    void
    deform
    (
    size_t offset
    ,
    vec2 by
    )

Parameters

offset size_t

Offset into the mesh to deform.

by vec2

The delta to deform the mesh by

Meta