terrain render, started GetTriangle math