Jopnal Engine  alpha 0.4
Simple Component Based 2D/3D Game Engine
Public Member Functions | Public Attributes | List of all members
jop::ContactInfo2D Class Reference

#include <ContactInfo2D.hpp>

Public Member Functions

 ContactInfo2D (const glm::vec2 &pos, const glm::vec2 &norm)
 Constructor. More...
 

Public Attributes

const glm::vec2 position
 Contact position. More...
 
const glm::vec2 normal
 Contact normal. More...
 

Detailed Description

Definition at line 34 of file ContactInfo2D.hpp.

Constructor & Destructor Documentation

jop::ContactInfo2D::ContactInfo2D ( const glm::vec2 &  pos,
const glm::vec2 &  norm 
)

Constructor.

Parameters
posPosition vector
normNormal vector

Member Data Documentation

const glm::vec2 jop::ContactInfo2D::normal

Contact normal.

Definition at line 50 of file ContactInfo2D.hpp.

const glm::vec2 jop::ContactInfo2D::position

Contact position.

Definition at line 49 of file ContactInfo2D.hpp.


The documentation for this class was generated from the following file: