Demo entry 6783225

interface

   

Submitted by anonymous on Feb 03, 2019 at 18:46
Language: C. Code size: 575 Bytes.

struct Mesh;
typedef struct OpaqueRigidDeformSystem *RigidDeformSystemRef;

typedef float (*Vector3Ds)[3];
typedef uint (*TriangleIndices)[3];

RigidDeformSystemRef RigidDeformSystem_from_mesh(
        struct Mesh *mesh);

void RigidDeformSystem_set_anchors(
        RigidDeformSystemRef system,
        uint *anchor_indices,
        uint anchor_amount);

void RigidDeformSystem_correct_inner(
        RigidDeformSystemRef system,
        Vector3Ds positions,
        uint iterations);

void RigidDeformSystem_free(
        RigidDeformSystemRef system);

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).