gKit2 light
Public Member Functions | Public Attributes | List of all members
Source Struct Reference
+ Inheritance diagram for Source:

Public Member Functions

 Source (const TriangleData &data, const Color &color)
 
- Public Member Functions inherited from Triangle
 Triangle (const TriangleData &data, const int _id)
 
void intersect (RayHit &ray) const
 
BBox bounds () const
 
 Triangle (const TriangleData &data, const int _id)
 
Hit intersect (const Ray &ray, const float htmax) const
 
BBox bounds () const
 
 Triangle (const vec3 &a, const vec3 &b, const vec3 &c, const int _mesh_id, const int _primitive_id, const int _id)
 
Hit intersect (const Ray &ray, const float htmax) const
 
BBox bounds () const
 
 Triangle (const vec3 &a, const vec3 &b, const vec3 &c, const int _mesh_id, const int _primitive_id, const int _id)
 
Hit intersect (const Ray &ray, const float htmax) const
 
BBox bounds () const
 
 Triangle (const TriangleData &data, const int _id)
 
void intersect (RayHit &ray) const
 
BBox bounds () const
 
 Triangle (const vec3 &a, const vec3 &b, const vec3 &c, const int _mesh_id, const int _primitive_id, const int _id)
 
Hit intersect (const Ray &ray, const float htmax) const
 
 Triangle (const TriangleData &data, const int _id)
 
Hit intersect (const Ray &ray, const float tmax) const
 
 Triangle (const TriangleData &data)
 
bool intersect (const Ray &ray, const float htmax, float &rt, float &ru, float &rv) const
 
Point point (const float u, const float v) const
 
Vector normal (const float u, const float v) const
 

Public Attributes

Color emission
 
- Public Attributes inherited from Triangle
Point p
 
Vector e1
 
Vector e2
 
int id
 
int mesh_id
 
int primitive_id
 
int triangle_id
 
- Public Attributes inherited from TriangleData
vec3 a
 
vec3 b
 
vec3 c
 positions
More...
 
vec3 na
 
vec3 nb
 
vec3 nc
 normales More...
 
vec2 ta
 
vec2 tb
 
vec2 tc
 texcoords More...
 

Detailed Description

Definition at line 121 of file tuto_is.cpp.


The documentation for this struct was generated from the following file: