We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca1baca commit e71633aCopy full SHA for e71633a
1 file changed
examples/models/models_yaw_pitch_roll.c
@@ -41,6 +41,9 @@ int main(void)
41
42
Model model = LoadModel("resources/models/obj/plane.obj"); // Load model
43
Texture2D texture = LoadTexture("resources/models/obj/plane_diffuse.png"); // Load model texture
44
+
45
+ SetTextureWrap(texture, TEXTURE_WRAP_REPEAT); // Force Repeat to avoid issue on Web version
46
47
model.materials[0].maps[MATERIAL_MAP_DIFFUSE].texture = texture; // Set map diffuse texture
48
49
float pitch = 0.0f;
0 commit comments