public NormalizingInfo(NormalizingStage stage, int currentVertex, GettingPrimitiveNormalsInfo gettingPrimitiveNormalsInfo) { this.Stage = stage; this.CurrentVertex = currentVertex; this.GettingPrimitiveNormalsInfo = gettingPrimitiveNormalsInfo; }
//Handles events that are raised from when inside the GettingPrimitiveNormals method. Only active when inside Normalize method and at the calling of the GettingPrimitiveNormals method from there private void OnGettingPrimitiveNormals(GettingPrimitiveNormalsInfo info) { //Alert - Normalizing (no need for checks, because this method is only used after checking that the event is used) this.Normalizing(new NormalizingInfo(NormalizingStage.GettingPrimitiveNormals, -1, info)); }