- renderer currently uses links into tface structures that actually
are owned by mesh (or displistmesh)... this causes problems for adapting to systems that build tfaces on the fly. Added RE_findTFace function to allow allocating tfaces inside renderer itself.
This commit is contained in:
@@ -191,6 +191,7 @@ void ramp_spec_result(float *specr, float *specg, float *specb, ShadeInput *shi)
|
||||
struct VlakRen *RE_findOrAddVlak(int nr);
|
||||
struct VertRen *RE_findOrAddVert(int nr);
|
||||
struct HaloRen *RE_findOrAddHalo(int nr);
|
||||
struct TFace *RE_findTFace(void);
|
||||
HaloRen *RE_inithalo(struct Material *ma, float *vec, float *vec1, float *orco, float hasize,
|
||||
float vectsize, int seed);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user