Generated new code and added initial data handling

This commit is contained in:
mm00
2025-01-27 19:24:50 +01:00
parent ebcc629feb
commit 146a3992ce
940 changed files with 11560 additions and 9 deletions

View File

@@ -49,6 +49,25 @@ namespace BlendFile.DNA {
public short solver;
[DNAFieldAttribute(16, "char", "_pad[6]", 1)]
public char[] _pad = new System.Char[6];
public SPHFluidSettings() {
this.radius = default;
this.spring_k = default;
this.rest_length = default;
this.plasticity_constant = default;
this.yield_ratio = default;
this.plasticity_balance = default;
this.yield_balance = default;
this.viscosity_omega = default;
this.viscosity_beta = default;
this.stiffness_k = default;
this.stiffness_knear = default;
this.rest_density = default;
this.buoyancy = default;
this.flag = default;
this.spring_frames = default;
this.solver = default;
this._pad = default;
}
public SPHFluidSettings(
float radius,
float spring_k,