Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.65 KB | None | 0 0
  1.  
  2. //   if ( is_local_player() )
  3. //   {
  4. //     return false;
  5. //   }
  6. //
  7. //   entity_info* me = m_pEntList.get_local();
  8. //   if ( !me )
  9. //   {
  10. //     return false;
  11. //   }
  12. //
  13. //   // update things
  14. //   m_pExport->actual_vieworg = me->m_vecEyes;
  15. //   m_pExport->actual_viewang = me->GetEyesAngle();
  16. //   m_pExport->actual_fov     = 90.0f;
  17. //
  18. //   if ( m_pExport->worldToScreen(point,out2D) )// disabled temporary
  19. //   {
  20. //     if ( point._is_valid() == false )
  21. //     {
  22. //       return false;
  23. //     }
  24. //
  25. //     if ( point._is_zero() == true )
  26. //     {
  27. //       return false;
  28. //     }
  29. //
  30. //     return true;
  31. //   }
  32. //   return false;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement