Fixes examples that had unused params
This commit is contained in:
parent
ab5431403c
commit
73a76bf849
2 changed files with 2 additions and 2 deletions
|
|
@ -25,7 +25,7 @@ pub fn main() anyerror!void
|
|||
|
||||
var spacing: i32 = 0;
|
||||
|
||||
for (buildings) |building, i|
|
||||
for (buildings) |_, i|
|
||||
{
|
||||
buildings[i].width = @intToFloat(f32, GetRandomValue(50, 200));
|
||||
buildings[i].height = @intToFloat(f32, GetRandomValue(100, 800));
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ pub fn main() anyerror!void
|
|||
var texture = LoadTexture("resources/models/castle_diffuse.png"); // Load model texture
|
||||
model.materials[0].maps[@enumToInt(MAP_DIFFUSE)].texture = texture; // Set map diffuse texture
|
||||
|
||||
var position = Vector3 { .x = 0.0, .y = 0.0, .z = 0.0 }; // Set model position
|
||||
//var position = Vector3 { .x = 0.0, .y = 0.0, .z = 0.0 }; // Set model position
|
||||
|
||||
var bounds = MeshBoundingBox(model.meshes[0]); // Set model bounds
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue