hkxVertexFloatDataChannel.h
上传用户:yisoukefu
上传日期:2020-08-09
资源大小:39506k
文件大小:2k
源码类别:

其他游戏

开发平台:

Visual C++

  1. /* 
  2.  * 
  3.  * Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
  4.  * prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
  5.  * Level 2 and Level 3 source code contains trade secrets of Havok. Havok Software (C) Copyright 1999-2009 Telekinesys Research Limited t/a Havok. All Rights Reserved. Use of this software is subject to the terms of an end user license agreement.
  6.  * 
  7.  */
  8. #ifndef INC_VERTEX_FLOAT_DATA_CHANNEL_H
  9. #define INC_VERTEX_FLOAT_DATA_CHANNEL_H
  10. /// Meta information
  11. extern const class hkClass hkxVertexFloatDataChannelClass;
  12. /// Stores per-vertex float values
  13. class hkxVertexFloatDataChannel
  14. {
  15. public:
  16. HK_DECLARE_NONVIRTUAL_CLASS_ALLOCATOR( HK_MEMORY_CLASS_SCENE_DATA, hkxVertexFloatDataChannel );
  17. HK_DECLARE_REFLECTION();
  18. enum VertexFloatDimensions
  19. {
  20. FLOAT = 0,
  21. DISTANCE = 1,
  22. ANGLE = 2
  23. };
  24. //
  25. // Members
  26. //
  27. public:
  28. float* m_perVertexFloats;
  29. hkInt32 m_numPerVertexFloats;
  30. hkEnum< hkxVertexFloatDataChannel::VertexFloatDimensions, hkUint8> m_dimensions;
  31. };
  32. #endif // INC_VERTEX_FLOAT_DATA_CHANNEL_H
  33. /*
  34. * Havok SDK - NO SOURCE PC DOWNLOAD, BUILD(#20090216)
  35. * Confidential Information of Havok.  (C) Copyright 1999-2009
  36. * Telekinesys Research Limited t/a Havok. All Rights Reserved. The Havok
  37. * Logo, and the Havok buzzsaw logo are trademarks of Havok.  Title, ownership
  38. * rights, and intellectual property rights in the Havok software remain in
  39. * Havok and/or its suppliers.
  40. * Use of this software for evaluation purposes is subject to and indicates
  41. * acceptance of the End User licence Agreement for this product. A copy of
  42. * the license is included with this software and is also available at www.havok.com/tryhavok.
  43. */