src/raytracermodule.cc
branchpyrit
changeset 21 79b516a3803d
parent 20 f22952603f29
child 22 76b7bd51d64a
equal deleted inserted replaced
20:f22952603f29 21:79b516a3803d
    86 	int shadows = 1;
    86 	int shadows = 1;
    87 
    87 
    88 	if (!PyArg_ParseTuple(args, "i", &shadows))
    88 	if (!PyArg_ParseTuple(args, "i", &shadows))
    89 		return NULL;
    89 		return NULL;
    90 
    90 
    91 	((LightObject *)self)->light->castshadows(shadows);
    91 	((LightObject *)self)->light->castShadows(shadows);
    92 
    92 
    93 	Py_INCREF(Py_None);
    93 	Py_INCREF(Py_None);
    94 	return Py_None;
    94 	return Py_None;
    95 }
    95 }
    96 
    96