Update RingRayLib - NULL checks for structure members are no longer required!
@@ -549,34 +549,16 @@ class Mesh from RayLibBase
raylib_set_Mesh_vertexCount(oData,vertexCount)
raylib_set_Mesh_triangleCount(oData,triangleCount)
raylib_set_Mesh_vertices(oData,vertices)
- if ! ISNULL(texcoords)
raylib_set_Mesh_texcoords(oData,texcoords)
- ok
- if ! ISNULL(texcoords2)
raylib_set_Mesh_texcoords2(oData,texcoords2)
- ok
raylib_set_Mesh_normals(oData,normals)
- if ! ISNULL(tangents)
raylib_set_Mesh_tangents(oData,tangents)
- ok
- if ! ISNULL(colors)
raylib_set_Mesh_colors(oData,colors)
- ok
- if ! ISNULL(indices)
raylib_set_Mesh_indices(oData,indices)
- ok
- if ! ISNULL(animVertices)
raylib_set_Mesh_animVertices(oData,animVertices)
- ok
- if ! ISNULL(animNormals)
raylib_set_Mesh_animNormals(oData,animNormals)
- ok
- if ! ISNULL(boneIds)
raylib_set_Mesh_boneIds(oData,boneIds)
- ok
- if ! ISNULL(boneWeights)
raylib_set_Mesh_boneWeights(oData,boneWeights)
- ok
raylib_set_Mesh_vaoId(oData,vaoId)
return oData
@@ -728,12 +710,8 @@ class Model from RayLibBase
raylib_set_Model_materials(oData,materials)
raylib_set_Model_meshMaterial(oData,meshMaterial)
raylib_set_Model_boneCount(oData,boneCount)
- if ! ISNULL(bones)
raylib_set_Model_bones(oData,bones)
- ok
- if ! ISNULL(bindPose)
raylib_set_Model_bindPose(oData,bindPose)
- ok
return oData
func setdata oStruct
