mirror of
https://notabug.org/scuti/lib3ddevil1
synced 2024-11-25 16:28:57 +05:30
Minor adjustments
This commit is contained in:
parent
063a091d7f
commit
e9fa07b695
@ -102,7 +102,7 @@ Functions
|
|||||||
|
|
||||||
false when failing checks against segmentation faults.
|
false when failing checks against segmentation faults.
|
||||||
|
|
||||||
Example logic to extract all textures:
|
Example logic to interact with all textures:
|
||||||
{
|
{
|
||||||
// After reading the file in...
|
// After reading the file in...
|
||||||
// Need to know how many batches are in the package.
|
// Need to know how many batches are in the package.
|
||||||
@ -124,9 +124,9 @@ Example logic to extract all textures:
|
|||||||
|
|
||||||
// There are now textures in 't'.
|
// There are now textures in 't'.
|
||||||
for (j = 0; j < d -> texNumber; j++) {
|
for (j = 0; j < d -> texNumber; j++) {
|
||||||
// Do whatever you want with however many of them there are.
|
// Do whatever you want with however many textures there are.
|
||||||
}
|
}
|
||||||
|
free(t);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user