Fix comment typos.
PiperOrigin-RevId: 643762423 Change-Id: I98289ed4053e635b863b029f239b14a232e505e3
This commit is contained in:
committed by
Copybara-Service
parent
86ef1746b0
commit
739512a0e4
@@ -3207,7 +3207,7 @@ mjCTexture::mjCTexture(mjCModel* _model) {
|
||||
// point to local
|
||||
PointToLocal();
|
||||
|
||||
// in case this camera is not compiled
|
||||
// in case this texture is not compiled
|
||||
CopyFromSpec();
|
||||
}
|
||||
|
||||
@@ -3910,14 +3910,12 @@ mjCMaterial::mjCMaterial(mjCModel* _model, mjCDef* _def) {
|
||||
*this = _def->Material();
|
||||
}
|
||||
|
||||
// set model, def
|
||||
model = _model;
|
||||
def = (_def ? _def : (_model ? _model->Defaults(0) : 0));
|
||||
|
||||
// point to local
|
||||
PointToLocal();
|
||||
|
||||
// in case this camera is not compiled
|
||||
// in case this material is not compiled
|
||||
CopyFromSpec();
|
||||
}
|
||||
|
||||
|
||||
@@ -1067,7 +1067,7 @@ class mjCTexture : public mjCTexture_, private mjsTexture {
|
||||
|
||||
class mjCMaterial_ : public mjCBase {
|
||||
protected:
|
||||
int texid; // id of material
|
||||
int texid; // id of material's texture
|
||||
std::string texture_;
|
||||
std::string spec_texture_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user