mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 13:56:32 +08:00
1 parent
c8a163a077
commit
0351dd54f5
31 files changed
+993
-311
No files matched your search
+1
-1
@@ -402,7 +402,7 @@ func (r *u3dRender) depthRange() (float64, float64, bool, error) {
|
||||
}
|
||||
mesh := &r.model.Meshes[index]
|
||||
matrix := r.toCamera.multiply(instance.world)
|
||||
for j := range len(mesh.Faces) + len(mesh.Lines) {
|
||||
for j := range len(mesh.Faces) + len(mesh.Lines) + len(mesh.Points) {
|
||||
_, corners := mesh.primitive(j)
|
||||
if j%256 == 0 {
|
||||
if err := r.ctx.Err(); err != nil {
|
||||
|
||||
Reference in new issue
Block a user