AgeAgeAgeAgeAgain

This commit is contained in:
korenkonder
2023-02-24 01:36:17 +03:00
parent e7b1c37d8e
commit bfc52a1729
46 changed files with 2377 additions and 661 deletions
+5
View File
@@ -324,6 +324,11 @@ obj_bounding_sphere::obj_bounding_sphere() : radius() {
}
obj_bounding_sphere::obj_bounding_sphere(vec3 center, float_t radius) {
this->center = center;
this->radius = radius;
}
obj_material_shader_lighting_type obj_material_shader_attrib::get_lighting_type() const {
if (!m.is_lgt_diffuse && !m.is_lgt_specular)
return OBJ_MATERIAL_SHADER_LIGHTING_CONSTANT;