diff options
author | M. Huri <kak_huri@yahoo.com> | 2021-10-12 14:30:55 +0700 |
---|---|---|
committer | M. Huri <kak_huri@yahoo.com> | 2021-10-12 20:20:19 +0700 |
commit | 033dc4dbefed22aab7b58a60e27ce3c86943fe25 (patch) | |
tree | 50ce05c3bce0431937f6c070b7f0042682065ace /scene/resources | |
parent | f9aec342dcd51d65c5970dd395e3c7a66cac446c (diff) |
Replaced NULL with nullptr
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/mesh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/mesh.cpp b/scene/resources/mesh.cpp index 18e6a51118..7ffe0b03e1 100644 --- a/scene/resources/mesh.cpp +++ b/scene/resources/mesh.cpp @@ -1577,7 +1577,7 @@ void ArrayMesh::regen_normal_maps() { } //dirty hack -bool (*array_mesh_lightmap_unwrap_callback)(float p_texel_size, const float *p_vertices, const float *p_normals, int p_vertex_count, const int *p_indices, int p_index_count, const uint8_t *p_cache_data, bool *r_use_cache, uint8_t **r_mesh_cache, int *r_mesh_cache_size, float **r_uv, int **r_vertex, int *r_vertex_count, int **r_index, int *r_index_count, int *r_size_hint_x, int *r_size_hint_y) = NULL; +bool (*array_mesh_lightmap_unwrap_callback)(float p_texel_size, const float *p_vertices, const float *p_normals, int p_vertex_count, const int *p_indices, int p_index_count, const uint8_t *p_cache_data, bool *r_use_cache, uint8_t **r_mesh_cache, int *r_mesh_cache_size, float **r_uv, int **r_vertex, int *r_vertex_count, int **r_index, int *r_index_count, int *r_size_hint_x, int *r_size_hint_y) = nullptr; struct ArrayMeshLightmapSurface { Ref<Material> material; |