Home
last modified time | relevance | path

Searched refs:staticModel (Results 1 – 19 of 19) sorted by relevance

/dports/games/dhewm3/dhewm3-1.5.1/neo/renderer/
H A DModelOverlay.cpp237 idRenderModelStatic *staticModel; in AddOverlaySurfacesToModel() local
258 staticModel->overlaysAdded = 0; in AddOverlaySurfacesToModel()
261 staticModel->DeleteSurfacesWithNegativeId(); in AddOverlaySurfacesToModel()
274 newSurf = &staticModel->surfaces[surfaceNum]; in AddOverlaySurfacesToModel()
276 newSurf = &staticModel->surfaces.Alloc(); in AddOverlaySurfacesToModel()
299 if ( surf->surfaceNum < staticModel->NumSurfaces() ) { in AddOverlaySurfacesToModel()
300 baseSurf = staticModel->Surface( surf->surfaceNum ); in AddOverlaySurfacesToModel()
337 staticModel->DeleteSurfaceWithId( newSurf->id ); in AddOverlaySurfacesToModel()
359 idRenderModelStatic *staticModel; in RemoveOverlaySurfacesFromModel() local
364 staticModel->DeleteSurfacesWithNegativeId(); in RemoveOverlaySurfacesFromModel()
[all …]
H A DModel_prt.cpp71 idRenderModelStatic *staticModel; in InstantiateDynamicModel() local
102 staticModel = static_cast<idRenderModelStatic *>(cachedModel); in InstantiateDynamicModel()
106 staticModel = new idRenderModelStatic; in InstantiateDynamicModel()
107 staticModel->InitEmpty( parametricParticle_SnapshotName ); in InstantiateDynamicModel()
127 staticModel->DeleteSurfaceWithId( stageNum ); in InstantiateDynamicModel()
145 if ( staticModel->FindSurfaceWithId( stageNum, surfaceNum ) ) { in InstantiateDynamicModel()
146 surf = &staticModel->surfaces[surfaceNum]; in InstantiateDynamicModel()
149 surf = &staticModel->surfaces.Alloc(); in InstantiateDynamicModel()
239 return staticModel; in InstantiateDynamicModel()
H A DModel_beam.cpp67 idRenderModelStatic *staticModel; in InstantiateDynamicModel() local
86 staticModel = static_cast<idRenderModelStatic *>( cachedModel ); in InstantiateDynamicModel()
87 surf = *staticModel->Surface( 0 ); in InstantiateDynamicModel()
92 staticModel = new idRenderModelStatic; in InstantiateDynamicModel()
93 staticModel->InitEmpty( beam_SnapshotName ); in InstantiateDynamicModel()
128 staticModel->AddSurface( surf ); in InstantiateDynamicModel()
183 staticModel->bounds = tri->bounds; in InstantiateDynamicModel()
185 return staticModel; in InstantiateDynamicModel()
H A DModel_sprite.cpp66 idRenderModelStatic *staticModel; in InstantiateDynamicModel() local
85 staticModel = static_cast<idRenderModelStatic *>( cachedModel ); in InstantiateDynamicModel()
86 surf = *staticModel->Surface( 0 ); in InstantiateDynamicModel()
91 staticModel = new idRenderModelStatic; in InstantiateDynamicModel()
92 staticModel->InitEmpty( sprite_SnapshotName ); in InstantiateDynamicModel()
139 staticModel->AddSurface( surf ); in InstantiateDynamicModel()
176 staticModel->bounds = tri->bounds; in InstantiateDynamicModel()
178 return staticModel; in InstantiateDynamicModel()
H A DModel_md5.cpp724 idRenderModelStatic *staticModel; in InstantiateDynamicModel() local
753 staticModel = new idRenderModelStatic; in InstantiateDynamicModel()
754 staticModel->InitEmpty( MD5_SnapshotName ); in InstantiateDynamicModel()
757 staticModel->bounds.Clear(); in InstantiateDynamicModel()
767 staticModel->InitEmpty( MD5_SnapshotName ); in InstantiateDynamicModel()
768 return staticModel; in InstantiateDynamicModel()
781 staticModel->DeleteSurfaceWithId( i ); in InstantiateDynamicModel()
790 surf = &staticModel->surfaces[surfaceNum]; in InstantiateDynamicModel()
796 mesh->surfaceNum = staticModel->NumSurfaces(); in InstantiateDynamicModel()
797 surf = &staticModel->surfaces.Alloc(); in InstantiateDynamicModel()
[all …]
H A DModel_md3.cpp284 idRenderModelStatic *staticModel; in InstantiateDynamicModel() local
291 staticModel = new idRenderModelStatic; in InstantiateDynamicModel()
292 staticModel->bounds.Clear(); in InstantiateDynamicModel()
335 staticModel->AddSurface( surf ); in InstantiateDynamicModel()
336 staticModel->bounds.AddPoint( surf.geometry->bounds[0] ); in InstantiateDynamicModel()
337 staticModel->bounds.AddPoint( surf.geometry->bounds[1] ); in InstantiateDynamicModel()
343 return staticModel; in InstantiateDynamicModel()
H A DModel_liquid.cpp468 idRenderModelStatic *staticModel; in InstantiateDynamicModel() local
506 staticModel = new idRenderModelStatic; in InstantiateDynamicModel()
507 staticModel->AddSurface( surf ); in InstantiateDynamicModel()
508 staticModel->bounds = surf.geometry->bounds; in InstantiateDynamicModel()
510 return staticModel; in InstantiateDynamicModel()
/dports/net-im/chatterino2/chatterino2-2.3.4/lib/libcommuni/tests/auto/ircbuffermodel/
H A Dtst_ircbuffermodel.cpp210 IrcBufferModel staticModel(connection); in testSorting() local
217 IrcBuffer* b = staticModel.add("b"); in testSorting()
218 IrcBuffer* c = staticModel.add("#c"); in testSorting()
219 IrcBuffer* a = staticModel.add("#a"); in testSorting()
222 QCOMPARE(staticModel.buffers(), buffers); in testSorting()
225 staticModel.sort(-1, Qt::AscendingOrder); in testSorting()
228 staticModel.sort(1, Qt::AscendingOrder); in testSorting()
234 staticModel.sort(0, Qt::AscendingOrder); in testSorting()
246 staticModel.sort(0, Qt::AscendingOrder); in testSorting()
259 staticModel.sort(0, Qt::AscendingOrder); in testSorting()
[all …]
/dports/www/groupoffice/groupoffice-6.4.231-php-71/go/base/data/
H A DStore.php124 $staticModel = call_user_func(array($deleteModelName,'model'));
128 $primaryKeyNames = $staticModel->primaryKey();
147 $model = $staticModel->findByPk($modelPk);
/dports/net-im/chatterino2/chatterino2-2.3.4/lib/libcommuni/tests/auto/ircusermodel/
H A Dtst_ircusermodel.cpp209 IrcUserModel staticModel(channel); in testSorting() local
212 IrcUser* user = staticModel.get(i); in testSorting()
231 QCOMPARE(staticModel.names(), sorted); in testSorting()
234 staticModel.sort(-1, Qt::AscendingOrder); in testSorting()
238 staticModel.sort(1, Qt::AscendingOrder); in testSorting()
243 staticModel.setSortMethod(Irc::SortByName); in testSorting()
244 staticModel.sort(0, Qt::AscendingOrder); in testSorting()
253 staticModel.setSortMethod(Irc::SortByName); in testSorting()
254 staticModel.sort(0, Qt::DescendingOrder); in testSorting()
264 staticModel.sort(0, Qt::AscendingOrder); in testSorting()
[all …]
/dports/graphics/urho3d/Urho3D-1.7.1/bin/Data/Scripts/Editor/
H A DEditorActions.as1031 StaticModel@ staticModel = model.Get();
1032 if (staticModel is null)
1038 staticModel.materials[i] = material;
1044 StaticModel@ staticModel = model.Get();
1045 if (staticModel is null)
1049 staticModel.material = material;
1055 WeakHandle staticModel;
1061 staticModel = staticModel_;
1068 StaticModel@ staticModel_ = staticModel.Get();
1080 StaticModel@ staticModel_ = staticModel.Get();
H A DEditorResourceBrowser.as1584 StaticModel@ staticModel = previewNode.CreateComponent("StaticModel");
1585 staticModel.model = model;
1594 StaticModel@ staticModel = previewNode.CreateComponent("StaticModel");
1595 staticModel.model = cache.GetResource("Model", "Models/Sphere.mdl");
1596 staticModel.material = material;
1605 StaticModel@ staticModel = previewNode.CreateComponent("StaticModel");
1606 staticModel.model = cache.GetResource("Model", "Models/Editor/ImagePlane.mdl");
1611 staticModel.material = material;
1647 StaticModel@ staticModel = previewNode.CreateComponent("StaticModel");
1648 staticModel.model = cache.GetResource("Model", "Models/Editor/ImagePlane.mdl");
[all …]
H A DEditorInspectorWindow.as516 StaticModel@ staticModel = cast<StaticModel>(serializable);
517 if (staticModel !is null)
518 staticModel.ApplyMaterialList();
532 StaticModel@ staticModel = ownerNode.GetComponent("StaticModel");
533 if (staticModel !is null)
535 serializable.SetAttribute("Model", staticModel.GetAttribute("Model"));
H A DEditorScene.as1520 StaticModel@ staticModel = parent.GetOrCreateComponent("StaticModel");
1521 staticModel.model = model;
1523 staticModel.ApplyMaterialList();
1524 CreateLoadedComponent(staticModel);
H A DEditorHierarchyWindow.as994 StaticModel@ staticModel = cast<StaticModel>(targetComponent);
995 if (staticModel is null)
998 AssignModel(staticModel, browserFile.resourceKey);
/dports/graphics/urho3d/Urho3D-1.7.1/bin/Data/LuaScripts/
H A D42_PBRMaterials.lua59 local staticModel = sphereWithDynamicMatNode:GetComponent("StaticModel")
60 dynamicMaterial = staticModel:GetMaterial(0)
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Samples/42_PBRMaterials/
H A DPBRMaterials.cpp112 StaticModel* staticModel = sphereWithDynamicMatNode->GetComponent<StaticModel>(); in CreateScene() local
113 dynamicMaterial_ = staticModel->GetMaterial(0); in CreateScene()
/dports/graphics/urho3d/Urho3D-1.7.1/bin/Data/Scripts/
H A D42_PBRMaterials.as59 StaticModel@ staticModel = sphereWithDynamicMatNode.GetComponent("StaticModel");
60 dynamicMaterial = staticModel.materials[0];
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Tools/AssetImporter/
H A DAssetImporter.cpp1698 …StaticModel* staticModel = model.bones_.Empty() ? modelNode->CreateComponent<StaticModel>() : mode… in BuildAndSaveScene() local
1709 staticModel->SetModel(cache->GetResource<Model>(modelName)); in BuildAndSaveScene()
1722 staticModel->SetMaterial(j, cache->GetResource<Material>(matName)); in BuildAndSaveScene()