Skip to content

Commit dd89d7f

Browse files
committed
chore(release): v26.08.0
1 parent 6e02ce7 commit dd89d7f

31 files changed

Lines changed: 536 additions & 444 deletions

docs/raylib.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3894,11 +3894,11 @@ <h1><a class="toc-backref" href="#7">Types</a></h1>
38943894
</div>
38953895
<div id="ModelAnimation">
38963896
<dt><pre><a href="raylib.html#ModelAnimation"><span class="Identifier">ModelAnimation</span></a> {.<span class="Identifier">importc</span><span class="Other">,</span> <span class="Identifier">header</span><span class="Other">:</span> <span class="StringLit">&quot;raylib.h&quot;</span><span class="Other">,</span> <span class="Identifier">completeStruct</span><span class="Other">,</span> <span class="Identifier">bycopy</span>.} <span class="Other">=</span> <span class="Keyword">object</span>
3897+
<span class="Identifier">name</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">array</span><span class="Other">[</span><span class="DecNumber">32</span><span class="Other">,</span> <span class="Identifier">char</span><span class="Other">]</span> <span class="Comment">## Animation name</span>
38973898
<span class="Identifier">boneCount</span><span class="Other">:</span> <span class="Identifier">int32</span> <span class="Comment">## Number of bones</span>
38983899
<span class="Identifier">frameCount</span><span class="Other">:</span> <span class="Identifier">int32</span> <span class="Comment">## Number of animation frames</span>
38993900
<span class="Identifier">bones</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">UncheckedArray</span><span class="Other">[</span><a href="raylib.html#BoneInfo"><span class="Identifier">BoneInfo</span></a><span class="Other">]</span> <span class="Comment">## Bones information (skeleton)</span>
3900-
<span class="Identifier">framePoses</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">UncheckedArray</span><span class="Other">[</span><span class="Keyword">ptr</span> <span class="Identifier">UncheckedArray</span><span class="Other">[</span><a href="raylib.html#Transform"><span class="Identifier">Transform</span></a><span class="Other">]</span><span class="Other">]</span> <span class="Comment">## Poses array by frame</span>
3901-
<span class="Identifier">name</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">array</span><span class="Other">[</span><span class="DecNumber">32</span><span class="Other">,</span> <span class="Identifier">char</span><span class="Other">]</span> <span class="Comment">## Animation name</span></pre></dt>
3901+
<span class="Identifier">framePoses</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">UncheckedArray</span><span class="Other">[</span><span class="Keyword">ptr</span> <span class="Identifier">UncheckedArray</span><span class="Other">[</span><a href="raylib.html#Transform"><span class="Identifier">Transform</span></a><span class="Other">]</span><span class="Other">]</span> <span class="Comment">## Poses array by frame</span></pre></dt>
39023902
<dd>
39033903

39043904
ModelAnimation
@@ -14616,7 +14616,7 @@ <h1><a class="toc-backref" href="#18">Templates</a></h1>
1461614616
<div class="twelve-columns footer">
1461714617
<span class="nim-sprite"></span>
1461814618
<br>
14619-
<small style="color: var(--hint);">Made with Nim. Generated: 2026-01-25 11:58:30 UTC</small>
14619+
<small style="color: var(--hint);">Made with Nim. Generated: 2026-02-17 13:25:27 UTC</small>
1462014620
</div>
1462114621
</div>
1462214622
</div>

docs/raymath.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2796,7 +2796,7 @@ <h1><a class="toc-backref" href="#19">Exports</a></h1>
27962796
<div class="twelve-columns footer">
27972797
<span class="nim-sprite"></span>
27982798
<br>
2799-
<small style="color: var(--hint);">Made with Nim. Generated: 2026-01-25 11:58:29 UTC</small>
2799+
<small style="color: var(--hint);">Made with Nim. Generated: 2026-02-17 13:25:26 UTC</small>
28002800
</div>
28012801
</div>
28022802
</div>

docs/rcamera.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ <h1><a class="toc-backref" href="#19">Exports</a></h1>
418418
<div class="twelve-columns footer">
419419
<span class="nim-sprite"></span>
420420
<br>
421-
<small style="color: var(--hint);">Made with Nim. Generated: 2026-01-25 11:58:32 UTC</small>
421+
<small style="color: var(--hint);">Made with Nim. Generated: 2026-02-17 13:25:29 UTC</small>
422422
</div>
423423
</div>
424424
</div>

docs/reasings.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ <h1><a class="toc-backref" href="#12">Procs</a></h1>
602602
<div class="twelve-columns footer">
603603
<span class="nim-sprite"></span>
604604
<br>
605-
<small style="color: var(--hint);">Made with Nim. Generated: 2026-01-25 11:58:31 UTC</small>
605+
<small style="color: var(--hint);">Made with Nim. Generated: 2026-02-17 13:25:28 UTC</small>
606606
</div>
607607
</div>
608608
</div>

docs/rlgl.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4309,7 +4309,7 @@ <h1><a class="toc-backref" href="#19">Exports</a></h1>
43094309
<div class="twelve-columns footer">
43104310
<span class="nim-sprite"></span>
43114311
<br>
4312-
<small style="color: var(--hint);">Made with Nim. Generated: 2026-01-25 11:58:30 UTC</small>
4312+
<small style="color: var(--hint);">Made with Nim. Generated: 2026-02-17 13:25:27 UTC</small>
43134313
</div>
43144314
</div>
43154315
</div>

docs/rmem.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ <h1><a class="toc-backref" href="#12">Procs</a></h1>
516516
<div class="twelve-columns footer">
517517
<span class="nim-sprite"></span>
518518
<br>
519-
<small style="color: var(--hint);">Made with Nim. Generated: 2026-01-25 11:58:32 UTC</small>
519+
<small style="color: var(--hint);">Made with Nim. Generated: 2026-02-17 13:25:29 UTC</small>
520520
</div>
521521
</div>
522522
</div>

naylib.nimble

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Package
22

3-
version = "26.02.0"
3+
version = "26.08.0"
44
author = "Antonis Geralis"
55
description = "Raylib Nim wrapper"
66
license = "MIT"

src/raylib.nim

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,11 +651,11 @@ type
651651
bindPose: ptr UncheckedArray[Transform] ## Bones base transformation (pose)
652652

653653
ModelAnimation* {.importc, header: "raylib.h", completeStruct, bycopy.} = object ## ModelAnimation
654+
name*: array[32, char] ## Animation name
654655
boneCount: int32 ## Number of bones
655656
frameCount: int32 ## Number of animation frames
656657
bones: ptr UncheckedArray[BoneInfo] ## Bones information (skeleton)
657658
framePoses: ptr UncheckedArray[ptr UncheckedArray[Transform]] ## Poses array by frame
658-
name*: array[32, char] ## Animation name
659659

660660
Ray* {.importc, header: "raylib.h", completeStruct, bycopy.} = object ## Ray, ray for raycasting
661661
position*: Vector3 ## Ray position (origin)
@@ -2707,6 +2707,13 @@ proc updateTexture*[T: Pixel](texture: Texture2D, pixels: openArray[T]) =
27072707
"Mismatch between expected and actual data size"
27082708
updateTextureImpl(texture, cast[pointer](pixels))
27092709

2710+
proc updateTexture*(texture: Texture2D, image: Image) =
2711+
## Update GPU texture with new image data
2712+
assert texture.format == image.format, "Incompatible texture format"
2713+
assert texture.width == image.width and texture.height == image.height,
2714+
"Image dimensions do not match texture dimensions"
2715+
updateTextureImpl(texture, image.data)
2716+
27102717
proc updateTexture*[T: Pixel](texture: Texture2D, rec: Rectangle, pixels: openArray[T]) =
27112718
## Update GPU texture rectangle with new data (pixels and rec should fit in texture)
27122719
assert texture.format == pixelKind(T), "Incompatible texture format"

src/raylib/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -841,6 +841,7 @@ ifeq ($(ROOT),root)
841841
# Copying raylib development files to $(RAYLIB_H_INSTALL_PATH).
842842
cp --update raylib.h $(RAYLIB_H_INSTALL_PATH)/raylib.h
843843
cp --update raymath.h $(RAYLIB_H_INSTALL_PATH)/raymath.h
844+
cp --update rcamera.h $(RAYLIB_H_INSTALL_PATH)/rcamera.h
844845
cp --update rlgl.h $(RAYLIB_H_INSTALL_PATH)/rlgl.h
845846
@echo "raylib development files installed/updated!"
846847
else

0 commit comments

Comments
 (0)