MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / Sample

Method Sample

include/luxrays/core/exttrianglemesh.h:197–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195 return tris[triIndex].Area(vertices);
196 }
197 virtual void Sample(const float time, const u_int triIndex, const float u0, const float u1,
198 Point *p, float *b0, float *b1, float *b2) const {
199 const Triangle &tri = tris[triIndex];
200 tri.Sample(vertices, u0, u1, p, b0, b1, b2);
201 }
202
203 virtual void Save(const std::string &fileName) const;
204

Callers 6

SampleMethod · 0.45
GetGeometryNormalMethod · 0.45
GetShadeNormalMethod · 0.45
GetLocal2WorldMethod · 0.45
InterpolateTriNormalMethod · 0.45
SampleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected