   SDL "Scalar" Type
  I am following a tutorial, and the author is using SDL in the sample code.In the code the author there is a data type called "Scalar" .... Is this a typedef for float?Additionally the author writes Scalar(w), is this just a cast to this "Scalar" type?   
  Maybe it is just a function and he is passing w by value to it? Maybe if you would show some more code or give a reference to the tutorial we could help out better because for me it isn't enough to say for 100% certainty what it is.   ;  After some examination it seems what I thought is right. The reason I had to clarify was because a code example I am following is written using SDL while I am writing up something similar with DirectX.   