Пример #1
0
 /**
  * Creates a mirror object, point the mirror object to the retained object if the object is not
  * editable
  */
 @Override
 synchronized void createMirrorObject() {
   if (mirror == null) {
     // Check the capability bits and let the mirror object
     // point to itself if is not editable
     if (isStatic()) {
       mirror = this;
     } else {
       TexCoordGenerationRetained mirrorTg = new TexCoordGenerationRetained();
       mirrorTg.set(this);
       mirrorTg.source = source;
       mirror = mirrorTg;
     }
   } else {
     ((TexCoordGenerationRetained) mirror).set(this);
   }
 }
Пример #2
0
 /**
  * Initializes a mirror object, point the mirror object to the retained object if the object is
  * not editable
  */
 @Override
 synchronized void initMirrorObject() {
   ((TexCoordGenerationRetained) mirror).set(this);
 }