FC3Editor.Nomad.Vec3.Snap C# (CSharp) Method

Snap() public method

public Snap ( Vec3 resolutionVector ) : void
resolutionVector Vec3
return void
        public void Snap(Vec3 resolutionVector)
        {
            this.X -= (float)Math.IEEERemainder((double)this.X, (double)resolutionVector.X);
            this.Y -= (float)Math.IEEERemainder((double)this.Y, (double)resolutionVector.Y);
            this.Z -= (float)Math.IEEERemainder((double)this.Z, (double)resolutionVector.Z);
        }

Same methods

Vec3::Snap ( float resolution ) : void