Skip to content

Instantly share code, notes, and snippets.

@ecere
Created March 3, 2013 23:53
Show Gist options
  • Save ecere/5078952 to your computer and use it in GitHub Desktop.
Save ecere/5078952 to your computer and use it in GitHub Desktop.
public struct Light
{
LightFlags flags;
ColorRGB ambient;
ColorRGB diffuse;
ColorRGB specular;
Vector3D direction;
Quaternion orientation;
Object lightObject;
Object target;
Degrees fallOff;
Degrees hotSpot;
float Kc;
float Kl;
float Kq;
Degrees start;
Degrees end;
float multiplier;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment