1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

Memory pool vectors (DVector) have been enormously simplified in code, and renamed to PoolVector

This commit is contained in:
Juan Linietsky
2017-01-07 18:25:37 -03:00
parent 2a38a5eaa8
commit 2ab83e1abb
257 changed files with 2818 additions and 3130 deletions

View File

@@ -77,7 +77,7 @@ void ParticlesEditor::_node_selected(const NodePath& p_path){
Transform geom_xform = node->get_global_transform().affine_inverse() * vi->get_global_transform();
int gc = geometry.size();
DVector<Face3>::Write w = geometry.write();
PoolVector<Face3>::Write w = geometry.write();
for(int i=0;i<gc;i++) {
@@ -87,7 +87,7 @@ void ParticlesEditor::_node_selected(const NodePath& p_path){
}
w = DVector<Face3>::Write();
w = PoolVector<Face3>::Write();
emission_dialog->popup_centered(Size2(300,130));
}
@@ -202,7 +202,7 @@ void ParticlesEditor::edit(Particles *p_particles) {
void ParticlesEditor::_generate_emission_points() {
/// hacer codigo aca
DVector<Vector3> points;
PoolVector<Vector3> points;
if (emission_fill->get_selected()==0) {
@@ -256,7 +256,7 @@ void ParticlesEditor::_generate_emission_points() {
return;
}
DVector<Face3>::Read r = geometry.read();
PoolVector<Face3>::Read r = geometry.read();
AABB aabb;