From 909309302c83423994e9c1dd36a3309890a67b90 Mon Sep 17 00:00:00 2001 From: Anthony LaTorre Date: Tue, 17 May 2011 16:58:36 -0400 Subject: added documentation --- materials.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'materials.py') diff --git a/materials.py b/materials.py index 4245212..4a8058f 100644 --- a/materials.py +++ b/materials.py @@ -1,4 +1,5 @@ class Material(object): + """Material optical properties.""" def __init__(self, name='none'): self.name = name @@ -7,6 +8,13 @@ class Material(object): self.absorption_length = None self.scattering_length = None +class Surface(object): + """Surface optical properties.""" + def __init__(self, name='none'): + self.name = name + + self.wavelength = None + air = Material('air') h2o = Material('h2o') glass = Material('glass') -- cgit