title: Objective-C and Vector3 struct
body: <p>I am pretty new to Objective-C (so far I was working with .NET and mainly with ANSI C).</p>
  
  <p>So I am interssted in following:
  In .NET I have:</p>
  
  <pre><code>struct Vector { float X, float Y ... float Length() .. }
  </code></pre>
  
  <p>But how to manage to do this in Objective-C ? </p>
  
  <p>Using class for Vector3 representation is really dumm, because of huge amount of classes.</p>
  
  <p>I only have Idea do struct in C way and then static class with static methods like <code>Length(struct Vector3 * vec)</code></p>
  
  <p>Is this good way, or way to hell ? And how to do it right-way...</p>
  
  <p>Thanks</p>