Add Chinese comment

This commit is contained in:
Tnze
2022-03-14 20:39:23 +08:00
parent ae2622c4e0
commit ed742efb97

View File

@ -20,6 +20,7 @@ type Region struct {
}
// In calculate chunk's coordinates relative to region
// 计算chunk在region中的相对坐标。即除以32并取余。
func In(cx, cz int) (int, int) {
// c & (32-1)
// is equal to: