Found my own solution - the and keyword between types. DOH!

[<AbstractClass>]

type SceneObject =

val Surface: Surface

abstract Intersect: Ray -> ISect

abstract Normal: Vector -> Vector

and ISect =

val Thing: SceneObject

val Ray: Ray

val Dist: double

By on 10/8/2008 1:03 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper