Blender V2.61 - r43446
Classes | Public Member Functions

TriangleDice Class Reference

#include <subd_dice.h>

Inheritance diagram for TriangleDice:
Inheritance graph
[legend]

List of all members.

Classes

struct  EdgeFactors
struct  SubPatch

Public Member Functions

 TriangleDice (Mesh *mesh, int shader, bool smooth, float dicing_rate)
void reserve (EdgeFactors &ef, int M)
float2 map_uv (SubPatch &sub, float2 uv)
int add_vert (SubPatch &sub, float2 uv)
void add_grid (SubPatch &sub, EdgeFactors &ef, int M)
void dice (SubPatch &sub, EdgeFactors &ef)

Detailed Description

Definition at line 129 of file subd_dice.h.


Constructor & Destructor Documentation

TriangleDice::TriangleDice ( Mesh mesh,
int  shader,
bool  smooth,
float  dicing_rate 
)

Definition at line 323 of file subd_dice.cpp.


Member Function Documentation

void TriangleDice::add_grid ( SubPatch sub,
EdgeFactors ef,
int  M 
)
int TriangleDice::add_vert ( SubPatch sub,
float2  uv 
)

Definition at line 347 of file subd_dice.cpp.

References map_uv(), and TriangleDice::SubPatch::patch.

Referenced by add_grid().

void TriangleDice::dice ( SubPatch sub,
EdgeFactors ef 
)
float2 TriangleDice::map_uv ( SubPatch sub,
float2  uv 
)
void TriangleDice::reserve ( EdgeFactors ef,
int  M 
)

The documentation for this class was generated from the following files: