1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Some work on double support

This commit is contained in:
Aaron Franke
2021-08-09 17:15:17 -05:00
parent c68b109f27
commit 430ad75963
42 changed files with 277 additions and 260 deletions

View File

@@ -242,7 +242,7 @@ RID RenderingServer::_make_test_cube() {
return test_cube;
}
RID RenderingServer::make_sphere_mesh(int p_lats, int p_lons, float p_radius) {
RID RenderingServer::make_sphere_mesh(int p_lats, int p_lons, real_t p_radius) {
Vector<Vector3> vertices;
Vector<Vector3> normals;
const double lat_step = Math_TAU / p_lats;