| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2009, Google Inc. | 2 * Copyright 2009, Google Inc. |
| 3 * All rights reserved. | 3 * All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 // window.onunload, handles those cases. | 111 // window.onunload, handles those cases. |
| 112 void Cleanup(); | 112 void Cleanup(); |
| 113 | 113 |
| 114 // Pack methods -------------------------- | 114 // Pack methods -------------------------- |
| 115 | 115 |
| 116 // Creates a pack object, and registers it within the Client's internal | 116 // Creates a pack object, and registers it within the Client's internal |
| 117 // dictionary strutures. Note that multiple packs may share the same name. | 117 // dictionary strutures. Note that multiple packs may share the same name. |
| 118 // The system does not enforce pack name uniqueness. | 118 // The system does not enforce pack name uniqueness. |
| 119 // Returns: | 119 // Returns: |
| 120 // A smart-pointer reference to the newly created pack object. | 120 // A smart-pointer reference to the newly created pack object. |
| 121 Pack* CreatePack() { | 121 Pack* CreatePack(); |
| 122 return object_manager_->CreatePack(); | |
| 123 } | |
| 124 | 122 |
| 125 // Node methods -------------------------- | 123 // Node methods -------------------------- |
| 126 | 124 |
| 127 // Returns the transform graph root transform | 125 // Returns the transform graph root transform |
| 128 // Parameters: | 126 // Parameters: |
| 129 // None | 127 // None |
| 130 // Returns: | 128 // Returns: |
| 131 // A pointer to the transform graph root Transform | 129 // A pointer to the transform graph root Transform |
| 132 inline Transform* root() const { | 130 inline Transform* root() const { |
| 133 return root_.Get(); | 131 return root_.Get(); |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 520 #ifdef OS_WIN | 518 #ifdef OS_WIN |
| 521 int calls_; // Used to check reentrancy along with ScopedIncrement. | 519 int calls_; // Used to check reentrancy along with ScopedIncrement. |
| 522 #endif | 520 #endif |
| 523 | 521 |
| 524 DISALLOW_COPY_AND_ASSIGN(Client); | 522 DISALLOW_COPY_AND_ASSIGN(Client); |
| 525 }; // Client | 523 }; // Client |
| 526 | 524 |
| 527 } // namespace o3d | 525 } // namespace o3d |
| 528 | 526 |
| 529 #endif // O3D_CORE_CROSS_CLIENT_H_ | 527 #endif // O3D_CORE_CROSS_CLIENT_H_ |
| OLD | NEW |