feat: updated engine
This commit is contained in:
parent
cbe99774ff
commit
f4cf6b3999
6607 changed files with 910135 additions and 430025 deletions
|
|
@ -237,15 +237,15 @@ static inline void _plot_face(uint8_t ***p_cell_status, int x, int y, int z, int
|
|||
int div_z = len_z > 1 ? 2 : 1;
|
||||
|
||||
#define SPLIT_DIV(m_i, m_div, m_v, m_len_v, m_new_v, m_new_len_v) \
|
||||
if (m_div == 1) { \
|
||||
m_new_v = m_v; \
|
||||
m_new_len_v = 1; \
|
||||
} else if (m_i == 0) { \
|
||||
m_new_v = m_v; \
|
||||
m_new_len_v = m_len_v / 2; \
|
||||
} else { \
|
||||
m_new_v = m_v + m_len_v / 2; \
|
||||
m_new_len_v = m_len_v - m_len_v / 2; \
|
||||
if (m_div == 1) { \
|
||||
m_new_v = m_v; \
|
||||
m_new_len_v = 1; \
|
||||
} else if (m_i == 0) { \
|
||||
m_new_v = m_v; \
|
||||
m_new_len_v = m_len_v / 2; \
|
||||
} else { \
|
||||
m_new_v = m_v + m_len_v / 2; \
|
||||
m_new_len_v = m_len_v - m_len_v / 2; \
|
||||
}
|
||||
|
||||
int new_x;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue