raha.rah
raha.rah

Reputation: 428

Create float range with Aforge

I tried to create a float range using the Aforge library, but the problem is that Range is undefined. I tried the following:

Range range1 = new Range( 0.25f, 1.5f );

Should I define Range as a public func?

Upvotes: 1

Views: 87

Answers (1)

sara
sara

Reputation: 3589

According to the documentation (found here), your code should work. Make sure you have referenced the .DLL in your project and that you have an appropriate using directive in your code file (or use the fully qualified name).

Upvotes: 1

Related Questions