Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Whats the difference between vector2f, vector2i, etc.  (Read 8380 times)

0 Members and 1 Guest are viewing this topic.

kim366

  • Newbie
  • *
  • Posts: 35
    • View Profile
Whats the difference between vector2f, vector2i, etc.
« on: January 08, 2014, 08:19:13 pm »
Hello, I just wanted to know if there's any difference between all verctor2's.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
Re: Whats the difference between vector2f, vector2i, etc.
« Reply #1 on: January 08, 2014, 08:25:27 pm »
Please read the documentation.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10819
    • View Profile
    • development blog
    • Email
AW: Whats the difference between vector2f, vector2i, etc.
« Reply #2 on: January 09, 2014, 07:52:37 am »
It's a template with typedefs for float, int and uint: sf::Vector2<T>
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything