public void Update(Random i_rand, float i_timeStep) { if (m_fade.IsOver()) { m_express = null; } if (m_express == null) { m_fade.Reset(); m_value_1 = new Vector3( (float)(i_rand.NextDouble()), (float)(i_rand.NextDouble()), (float)(i_rand.NextDouble())); /*m_value_2 = new Vector3( * (float)(i_rand.NextDouble()), * (float)(i_rand.NextDouble()), * (float)(i_rand.NextDouble())); */ m_value_2 = m_value_1 / 6; if (m_3dPlane) { m_express = ExperessionMaker.Make(i_rand, 3); m_express = new AnimatedPlane3d(m_express, i_rand); } else { m_express = ExperessionMaker.Make(i_rand, 5); } } m_fade.Advance(i_timeStep); m_express.Update(i_timeStep); }
public TransformMove(Exprexssion i_first, Exprexssion i_second, float i_deltaX, float i_deltaY, float i_scaleX, float i_scaleY) { m_first = i_first; m_second = i_second; m_deltaX = i_deltaX; m_deltaY = i_deltaY; m_scaleX = i_scaleX; m_scaleY = i_scaleY; }
public void Reset() { m_express = null; }
public Quotient(Exprexssion i_first, Exprexssion i_second) { m_first = i_first; m_second = i_second; }
public Product(Exprexssion i_first, Exprexssion i_second) { m_first = i_first; m_second = i_second; }
public Plane3d(Exprexssion i_first, Random i_rand) { m_first = i_first; m_halfFOV = (float)(i_rand.NextDouble() * (300 * Math.PI / 180.0)); }
public TransformWave(Exprexssion i_first, Exprexssion i_second) { m_first = i_first; m_second = i_second; }
public Sum(Exprexssion i_first, Exprexssion i_second) { m_first = i_first; m_second = i_second; }
public Atan(Exprexssion i_first) { m_first = i_first; }
public Sin(Exprexssion i_first) { m_first = i_first; }