Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F2210446
Patch against 3d-ascii-viewer-c src/model.c
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
dereckson
Apr 25 2023, 22:25
2023-04-25 22:25:00 (UTC+0)
Size
543 B
Referenced Files
None
Subscribers
None
Patch against 3d-ascii-viewer-c src/model.c
View Options
diff
--
git
a
/
src
/
model
.
c
b
/
src
/
model
.
c
index
86e6543
..
e9b1304
100644
---
a
/
src
/
model
.
c
+++
b
/
src
/
model
.
c
@@
-25
,
6
+
25
,
8
@@
static
struct
model
*
model_init
(
void
)
exit
(
1
);
}
model
->
vertex_count
=
0
;
+
+
return
model
;
}
static
void
model_add_vertex
(
struct
model
*
model
,
vec3
vec
)
@@
-52
,
9
+
54
,
11
@@
static
int
relativize_idx
(
int
i
,
int
n
)
}
if
(
i
>
0
)
+
{
return
i
-
1
;
-
if
(
i
<
0
)
-
return
n
+
i
;
+
}
+
+
return
n
+
i
;
}
static
bool
model_validate_idxs
(
struct
model
*
model
)
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1386730
Default Alt Text
Patch against 3d-ascii-viewer-c src/model.c (543 B)
Attached To
Mode
P326 Patch against 3d-ascii-viewer-c src/model.c
Attached
Detach File
Event Timeline
Log In to Comment