Package com.raylib

Class Raylib.float3

java.lang.Object
org.bytedeco.javacpp.Pointer
com.raylib.Raylib.float3
All Implemented Interfaces:
AutoCloseable
Enclosing class:
Raylib

public static class Raylib.float3 extends org.bytedeco.javacpp.Pointer
raymath v1.5 - Math functions to work with Vector2, Vector3, Matrix and Quaternions CONFIGURATION: #define RAYMATH_IMPLEMENTATION Generates the implementation of the library into the included file. If not defined, the library is in header only mode and can be included in other headers or source files without problems. But only ONE file should hold the implementation. #define RAYMATH_STATIC_INLINE Define static inline functions code, so #include header suffices for use. This may use up lots of memory. CONVENTIONS: - Functions are always self-contained, no function use another raymath function inside, required code is directly re-implemented inside - Functions input parameters are always received by value (2 unavoidable exceptions) - Functions use always a "result" anmed variable for return - Functions are always defined inline - Angles are always in radians (DEG2RAD/RAD2DEG macros provided for convenience) LICENSE: zlib/libpng Copyright (c) 2015-2021 Ramon Santamaria (\raysan5) This software is provided "as-is", without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer

    org.bytedeco.javacpp.Pointer.CustomDeallocator, org.bytedeco.javacpp.Pointer.Deallocator, org.bytedeco.javacpp.Pointer.NativeDeallocator, org.bytedeco.javacpp.Pointer.ReferenceCounter
  • Field Summary

    Fields inherited from class org.bytedeco.javacpp.Pointer

    address, capacity, limit, position
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default native constructor.
    float3​(long size)
    Native array allocator.
    float3​(org.bytedeco.javacpp.Pointer p)
    Pointer cast constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    getPointer​(long i)
     
    position​(long position)
     
    org.bytedeco.javacpp.FloatPointer
    v()
     
    float
    v​(int i)
     
    v​(int i, float setter)
     

    Methods inherited from class org.bytedeco.javacpp.Pointer

    address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • float3

      public float3()
      Default native constructor.
    • float3

      public float3(long size)
      Native array allocator. Access with Pointer.position(long).
    • float3

      public float3(org.bytedeco.javacpp.Pointer p)
      Pointer cast constructor. Invokes Pointer(Pointer).
  • Method Details

    • position

      public Raylib.float3 position(long position)
      Overrides:
      position in class org.bytedeco.javacpp.Pointer
    • getPointer

      public Raylib.float3 getPointer(long i)
      Overrides:
      getPointer in class org.bytedeco.javacpp.Pointer
    • v

      public float v(int i)
    • v

      public Raylib.float3 v(int i, float setter)
    • v

      @MemberGetter public org.bytedeco.javacpp.FloatPointer v()