Пример #1
0
    void AddPos(Vector3 pos, Vector3 vel, Matrix4x4 tm, Matrix4x4 tm1, float flowscale)
    {
        MegaFlowPos fpos = new MegaFlowPos();

        fpos.Set(pos, vel, tm, tm1, flowscale, flowtime);

        flowpositions.Add(fpos);
    }
Пример #2
0
    void UpdateLast(Vector3 pos, Vector3 vel, Matrix4x4 tm, Matrix4x4 tm1, float flowscale)
    {
        MegaFlowPos fpos = flowpositions[flowpositions.Count - 1];

        fpos.Set(pos, vel, tm, tm1, flowscale, flowtime);
    }
	void AddPos(Vector3 pos, Vector3 vel, Matrix4x4 tm, Matrix4x4 tm1, float flowscale)
	{
		MegaFlowPos fpos = new MegaFlowPos();
		fpos.Set(pos, vel, tm, tm1, flowscale, flowtime);

		flowpositions.Add(fpos);
	}