Fix typo in user_mesh.cc.
PiperOrigin-RevId: 532158366 Change-Id: I58cc6d7ff5f0781ea2621768dbcd35442d1b2e9c
This commit is contained in:
committed by
Copybara-Service
parent
31c265782b
commit
ca9c55d22b
@@ -223,7 +223,7 @@ void mjCMesh::Compile(int vfs_provider) {
|
|||||||
|
|
||||||
// check size
|
// check size
|
||||||
if (uservert.size()<12) {
|
if (uservert.size()<12) {
|
||||||
throw mjCError(this, "at least 4 verices required");
|
throw mjCError(this, "at least 4 vertices required");
|
||||||
}
|
}
|
||||||
if (uservert.size()%3) {
|
if (uservert.size()%3) {
|
||||||
throw mjCError(this, "vertex data must be a multiple of 3");
|
throw mjCError(this, "vertex data must be a multiple of 3");
|
||||||
|
|||||||
Reference in New Issue
Block a user