7fd59977 |
1 | // File V3d_AmbientLight.cxx |
2 | // Created September 1992 |
3 | // Modified 30-03-98 : ZOV ; PRO6774 (reconstruction of the class hierarchy and suppressing useless methods) |
4 | // Author GG |
5 | |
6 | //-Copyright MatraDatavision 1991,1992 |
7 | |
8 | #include <V3d.hxx> |
9 | #include <V3d_AmbientLight.ixx> |
10 | #include <Visual3d_Light.hxx> |
11 | |
12 | V3d_AmbientLight::V3d_AmbientLight(const Handle(V3d_Viewer)& VM, const Quantity_NameOfColor Name):V3d_Light(VM) { |
13 | |
14 | Quantity_Color C(Name) ; |
15 | MyType = V3d_AMBIENT ; |
16 | MyLight = new Visual3d_Light(C) ; |
17 | } |
18 | |